npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jetbrains/youtrack-apps-tools

v0.1.1

Published

CLI and Vite plugins for building, validating, and uploading YouTrack apps

Readme

youtrack-apps-tools

Build Status NPM Version official JetBrains project

The @jetbrains/youtrack-apps-tools package provides CLI utilities for managing YouTrack apps from an external code editor. It lets you write and update JavaScript apps in your preferred development environment, and also ships the Vite plugins and runtime helpers used by apps created from the TypeScript Enhanced DX template.

Quick Start

To use this package, install and run Node.js. Node.js includes npm, which you use to install this package. Next, install the @jetbrains/youtrack-apps-tools package in your development environment. The easiest way to get started is to install it globally with the following command:

npm install -g @jetbrains/youtrack-apps-tools

If you prefer to install it as a dependency in your development environment, run:

npm install --save-dev @jetbrains/youtrack-apps-tools

Utility Scripts

The package includes scripts for synchronizing local changes with your YouTrack. The following commands are available:

Using Environment Variables

youtrack-app also reads the following environment variables:

  • YOUTRACK_HOST - Your YouTrack instance URL.
  • YOUTRACK_API_TOKEN - Your permanent token for accessing the YouTrack API.

If these variables are set, you can omit --host and --token. If you provide both environment variables and command-line arguments, the command-line arguments take precedence.

List

youtrack-app list --host --token

This command lists all apps available in your YouTrack. To use it, specify the following parameters:

| Parameter | Description | | --------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | host | The base URL of your YouTrack. For YouTrack Cloud, include the trailing /youtrack. | | token | A permanent token that grants access to YouTrack. You can create one in your YouTrack profile, on the Account Security tab. |

Download

youtrack-app download <appName> --host --token [--output, --overwrite]

This command downloads the referenced app from your YouTrack.

If you do not specify a directory with the output parameter, a directory named <appName> is created in the current working directory, and the app files are extracted there. Otherwise, the app is downloaded into the directory specified by the output parameter.

You also need to provide --host and --token to authenticate with YouTrack.

Use --overwrite to replace an existing directory with the same name.

Upload

youtrack-app upload <dir> --host --token

This command uploads the app from the specified directory to your YouTrack. First, it checks the target directory for a manifest.json or package.json file that contains the app name. If neither file is present, or if neither specifies the app name, the directory name is used.

Provide --host and --token to authenticate with YouTrack.

Use --open to open the app settings in the browser after the upload is complete.

Validate

youtrack-app validate <dir> [--schema, --manifest]

This command validates the app's manifest.json from the specified directory against the YouTrack App JSON schema. You can also use --schema to provide a custom schema file and --manifest to specify a custom manifest file. When both dir and --manifest are provided, the manifest file is used.

Enhanced DX Support

This package also contains the utilities used by apps generated from the TypeScript (Enhanced DX with file-based routing) template in @jetbrains/create-youtrack-app.

For apps generated from this template, these tools are configured for you. In most cases, you should not need to import or configure the Enhanced DX plugins manually.

Advanced or custom Vite setups can import the Enhanced DX plugins from @jetbrains/youtrack-apps-tools/dx:

import {
  youtrackApiGenerator,
  youtrackRouter,
  youtrackAppSettings,
  youtrackExtensionProperties,
  youtrackWidgetEntries,
  youtrackBackendBundles,
  youtrackAutoUpload,
  youtrackDevHtml,
  backendReloadPlugin
} from '@jetbrains/youtrack-apps-tools/dx';

The Enhanced DX utilities include file-based HTTP routing, generated API types, generated app settings and extension-property types, widget entry discovery, local development HTML rewriting, backend reload support, and automatic upload coordination.

Backend handler runtime helpers, such as withPermissions and set, are available from @jetbrains/youtrack-apps-tools/dx/runtime.

Workflow API types live in the companion package @jetbrains/youtrack-workflow-types.

Special Instructions for SSL Certificates

If your YouTrack domain uses an SSL certificate issued by a known certificate authority, you can connect using only your personal permanent token. The certificate is already included in the CA certificate store built into Node.js. For certificates issued by an unrecognized CA or for self-signed certificates, you need to adjust the Node.js environment variables so the certificate is recognized or ignored.

For more information, see the YouTrack documentation.