ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.27 kB
TypeScript
/**
* **pkg** - Package your Node.js project into an executable
*
* @domain `vercel.com/pkg`
* @programs `pkg`
* @version `5.8.1` (1 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install pkg`
* @name `pkg`
* @dependencies `nodejs.org`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.pkg
* // Or access via domain
* const samePkg = pantry.vercelcompkg
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "pkg"
* console.log(pkg.description) // "Package your Node.js project into an executable"
* console.log(pkg.programs) // ["pkg"]
* console.log(pkg.versions[0]) // "5.8.1" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/vercel-com/pkg.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const pkgPackage: {
/**
* The display name of this package.
*/
name: 'pkg';
/**
* The canonical domain name for this package.
*/
domain: 'vercel.com/pkg';
/**
* Brief description of what this package does.
*/
description: 'Package your Node.js project into an executable';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/vercel.com/pkg/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install pkg';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['pkg'];
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 ['5.8.1'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) pkg -- $SHELL -i';
launchpadInstallCommand: 'launchpad install pkg'
};
export type PkgPackage = typeof pkgPackage