ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.31 kB
TypeScript
/**
* **htop** - Improved top (interactive process viewer)
*
* @domain `htop.dev`
* @programs `htop`
* @version `3.4.1` (5 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install htop`
* @name `htop`
* @dependencies `invisible-island.net/ncurses@6`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.htop
* // Or access via domain
* const samePkg = pantry.htopdev
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "htop"
* console.log(pkg.description) // "Improved top (interactive process viewer)"
* console.log(pkg.programs) // ["htop"]
* console.log(pkg.versions[0]) // "3.4.1" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/htop-dev.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const htopPackage: {
/**
* The display name of this package.
*/
name: 'htop';
/**
* The canonical domain name for this package.
*/
domain: 'htop.dev';
/**
* Brief description of what this package does.
*/
description: 'Improved top (interactive process viewer)';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/htop.dev/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install htop';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['htop'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['invisible-island.net/ncurses@6'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['3.4.1', '3.4.0', '3.3.0', '3.2.2', '3.2.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) htop -- $SHELL -i';
launchpadInstallCommand: 'launchpad install htop'
};
export type HtopPackage = typeof htopPackage