UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

76 lines 2.51 kB
/** * **ttyd** - Command-line tool for sharing terminal over the web * * @domain `tsl0922.github.io/ttyd` * @programs `ttyd` * @version `1.7.7` (5 versions available) * @versions From newest version to oldest. * * @install `launchpad install ttyd` * @name `ttyd` * @dependencies `libuv.org@1`, `github.com/json-c/json-c^0.16`, `libwebsockets.org@4`, ... (+1 more) * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access the package * const pkg = pantry.ttyd * // Or access via domain * const samePkg = pantry.tsl0922githubiottyd * console.log(pkg === samePkg) // true * console.log(pkg.name) // "ttyd" * console.log(pkg.description) // "Command-line tool for sharing terminal over the..." * console.log(pkg.programs) // ["ttyd"] * console.log(pkg.versions[0]) // "1.7.7" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/tsl0922-github-io/ttyd.md * @see https://ts-pkgx.netlify.app/usage */ export declare const ttydPackage: { /** * The display name of this package. */ name: 'ttyd'; /** * The canonical domain name for this package. */ domain: 'tsl0922.github.io/ttyd'; /** * Brief description of what this package does. */ description: 'Command-line tool for sharing terminal over the web'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/tsl0922.github.io/ttyd/package.yml'; homepageUrl: ''; githubUrl: 'https://github.com/pkgxdev/pantry/'; /** * Command to install this package using launchpad. * @example launchpad install package-name */ installCommand: 'launchpad install ttyd'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['ttyd']; companions: readonly []; /** * Required dependencies for this package. * These will be automatically installed. */ dependencies: readonly ['libuv.org@1', 'github.com/json-c/json-c^0.16', 'libwebsockets.org@4', 'zlib.net@1']; /** * Available versions from newest to oldest. * @see https://ts-pkgx.netlify.app/usage for installation instructions */ versions: readonly ['1.7.7', '1.7.6', '1.7.5', '1.7.4', '1.7.2']; /** * Alternative names for this package. * You can use any of these names to access the package. */ aliases: readonly []; pkgxInstallCommand: 'sh <(curl https://pkgx.sh) ttyd -- $SHELL -i'; launchpadInstallCommand: 'launchpad install ttyd' }; export type TtydPackage = typeof ttydPackage