ts-pkgx
Version:
A library & CLI for managing packages
70 lines • 2 kB
TypeScript
/**
* **which** - pkgx package
*
* @domain `gnu.org/which`
* @programs `which`
* @version `2.23.0` (3 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install which`
* @name `which`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.which
* // Or access via domain
* const samePkg = pantry.gnuorgwhich
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "which"
* console.log(pkg.programs) // ["which"]
* console.log(pkg.versions[0]) // "2.23.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/gnu-org/which.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const whichPackage: {
/**
* The display name of this package.
*/
name: 'which';
/**
* The canonical domain name for this package.
*/
domain: 'gnu.org/which';
/**
* Brief description of what this package does.
*/
description: '';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/gnu.org/which/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install which';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['which'];
companions: readonly [];
dependencies: readonly [];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['2.23.0', '2.22.0', '2.21.0'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) which -- $SHELL -i';
launchpadInstallCommand: 'launchpad install which'
};
export type WhichPackage = typeof whichPackage