UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

76 lines 2.89 kB
/** * **npm** - the package manager for JavaScript * * @domain `npmjs.com` * @programs `npm`, `npx` * @version `11.5.2` (64 versions available) * @versions From newest version to oldest. * * @install `launchpad install npmjs.com` * @aliases `npm` * @dependencies `nodejs.org` * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access via alias (recommended) * const pkg = pantry.npm * // Or access via domain * const samePkg = pantry.npmjscom * console.log(pkg === samePkg) // true * console.log(pkg.name) // "npmjs.com" * console.log(pkg.description) // "the package manager for JavaScript" * console.log(pkg.programs) // ["npm", "npx"] * console.log(pkg.versions[0]) // "11.5.2" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/npmjs-com.md * @see https://ts-pkgx.netlify.app/usage */ export declare const npmPackage: { /** * The display name of this package. */ name: 'npmjs.com'; /** * The canonical domain name for this package. */ domain: 'npmjs.com'; /** * Brief description of what this package does. */ description: 'the package manager for JavaScript'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/npmjs.com/package.yml'; homepageUrl: ''; githubUrl: 'https://github.com/pkgxdev/pantry/'; /** * Command to install this package using launchpad. * @example launchpad install package-name */ installCommand: 'launchpad install npmjs.com'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['npm', 'npx']; companions: readonly []; /** * Required dependencies for this package. * These will be automatically installed. */ dependencies: readonly ['nodejs.org']; /** * Available versions from newest to oldest. * @see https://ts-pkgx.netlify.app/usage for installation instructions */ versions: readonly ['11.5.2', '11.5.1', '11.5.0', '11.4.2', '11.4.1', '11.4.0', '11.3.0', '11.2.0', '11.1.0', '11.0.0', '10.9.3', '10.9.2', '10.9.1', '10.9.0', '10.8.3', '10.8.2', '10.8.1', '10.8.0', '10.7.0', '10.6.0', '10.5.2', '10.5.1', '10.5.0', '10.4.0', '10.3.0', '10.2.5', '10.2.4', '10.2.3', '10.2.2', '10.2.1', '10.2.0', '10.1.0', '10.0.0', '9.9.4', '9.9.3', '9.9.2', '9.9.1', '9.9.0', '9.8.1', '9.8.0', '9.7.2', '9.7.1', '9.7.0', '9.6.7', '9.6.6', '9.6.5', '9.6.4', '9.6.3', '9.6.2', '9.6.1', '9.6.0', '9.5.1', '9.5.0', '9.4.2', '9.4.1', '9.4.0', '9.3.1', '9.3.0', '9.2.0', '9.1.3', '9.1.2', '9.0.1', '8.19.4', '8.19.3']; /** * Alternative names for this package. * You can use any of these names to access the package. */ aliases: readonly ['npm']; pkgxInstallCommand: 'sh <(curl https://pkgx.sh) +npmjs.com -- $SHELL -i'; launchpadInstallCommand: 'launchpad install npmjs.com' }; export type NpmPackage = typeof npmPackage