ts-pkgx
Version:
A library & CLI for managing packages
72 lines • 2.34 kB
TypeScript
/**
* **duck** - Simple, extendable and embeddable scripting language.
*
* @domain `sagiegurari.github.io/duckscript`
* @programs `duck`
* @version `0.11.1` (5 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install duck`
* @name `duckscript`
* @aliases `duck`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access via alias (recommended)
* const pkg = pantry.duck
* // Or access via domain
* const samePkg = pantry.sagiegurarigithubioduckscript
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "duckscript"
* console.log(pkg.description) // "Simple, extendable and embeddable scripting lan..."
* console.log(pkg.programs) // ["duck"]
* console.log(pkg.versions[0]) // "0.11.1" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/sagiegurari-github-io/duckscript.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const duckPackage: {
/**
* The display name of this package.
*/
name: 'duckscript';
/**
* The canonical domain name for this package.
*/
domain: 'sagiegurari.github.io/duckscript';
/**
* Brief description of what this package does.
*/
description: 'Simple, extendable and embeddable scripting language.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/sagiegurari.github.io/duckscript/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install duck';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['duck'];
companions: readonly [];
dependencies: readonly [];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['0.11.1', '0.11.0', '0.10.0', '0.9.4', '0.9.3'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly ['duck'];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) duck -- $SHELL -i';
launchpadInstallCommand: 'launchpad install duck'
};
export type DuckPackage = typeof duckPackage