UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

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