ts-pkgx
Version:
A library & CLI for managing packages
69 lines • 2.1 kB
TypeScript
/**
* **trash** - a cli system trash manager, alternative to rm and trash-cli
*
* @domain `crates.io/trashy`
* @programs `trash`
* @version `2.0.0` (2 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install trash`
* @aliases `trash`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access via alias (recommended)
* const pkg = pantry.trash
* // Or access via domain
* const samePkg = pantry.cratesiotrashy
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "trashy"
* console.log(pkg.description) // "a cli system trash manager, alternative to rm a..."
* console.log(pkg.programs) // ["trash"]
* console.log(pkg.versions[0]) // "2.0.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/crates-io/trashy.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const trashPackage: {
/**
* The display name of this package.
*/
name: 'trashy';
/**
* The canonical domain name for this package.
*/
domain: 'crates.io/trashy';
/**
* Brief description of what this package does.
*/
description: 'a cli system trash manager, alternative to rm and trash-cli';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/crates.io/trashy/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install trash';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['trash'];
companions: readonly [];
dependencies: readonly [];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['2.0.0', '1.0.3'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly ['trash']
};
export type TrashPackage = typeof trashPackage