ts-pkgx
Version:
A library & CLI for managing packages
71 lines • 2.14 kB
TypeScript
/**
* **when** - Timezones from the command line
*
* @domain `github.com/mitsuhiko/when`
* @programs `when`
* @version `0.4.0` (1 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install when`
* @name `when`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.when
* // Or access via domain
* const samePkg = pantry.githubcommitsuhikowhen
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "when"
* console.log(pkg.description) // "Timezones from the command line"
* console.log(pkg.programs) // ["when"]
* console.log(pkg.versions[0]) // "0.4.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/mitsuhiko/when.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const whenPackage: {
/**
* The display name of this package.
*/
name: 'when';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/mitsuhiko/when';
/**
* Brief description of what this package does.
*/
description: 'Timezones from the command line';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/mitsuhiko/when/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/mitsuhiko/when';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install when';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['when'];
companions: readonly [];
dependencies: readonly [];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['0.4.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) when -- $SHELL -i';
launchpadInstallCommand: 'launchpad install when'
};
export type WhenPackage = typeof whenPackage