UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

76 lines 2.38 kB
/** * **jsonlint** - A JSON parser and validator with a CLI. * * @domain `github.com/zaach/jsonlint` * @programs `jsonlint` * @version `1.6.0` (1 versions available) * @versions From newest version to oldest. * * @install `launchpad install jsonlint` * @name `jsonlint` * @dependencies `nodejs.org^20` * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access the package * const pkg = pantry.jsonlint * // Or access via domain * const samePkg = pantry.githubcomzaachjsonlint * console.log(pkg === samePkg) // true * console.log(pkg.name) // "jsonlint" * console.log(pkg.description) // "A JSON parser and validator with a CLI." * console.log(pkg.programs) // ["jsonlint"] * console.log(pkg.versions[0]) // "1.6.0" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/github-com/zaach/jsonlint.md * @see https://ts-pkgx.netlify.app/usage */ export declare const jsonlintPackage: { /** * The display name of this package. */ name: 'jsonlint'; /** * The canonical domain name for this package. */ domain: 'github.com/zaach/jsonlint'; /** * Brief description of what this package does. */ description: 'A JSON parser and validator with a CLI.'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/zaach/jsonlint/package.yml'; homepageUrl: ''; githubUrl: 'https://github.com/pkgxdev/pantry/'; /** * Command to install this package using launchpad. * @example launchpad install package-name */ installCommand: 'launchpad install jsonlint'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['jsonlint']; companions: readonly []; /** * Required dependencies for this package. * These will be automatically installed. */ dependencies: readonly ['nodejs.org^20']; /** * Available versions from newest to oldest. * @see https://ts-pkgx.netlify.app/usage for installation instructions */ versions: readonly ['1.6.0']; /** * Alternative names for this package. * You can use any of these names to access the package. */ aliases: readonly []; pkgxInstallCommand: 'sh <(curl https://pkgx.sh) jsonlint -- $SHELL -i'; launchpadInstallCommand: 'launchpad install jsonlint' }; export type JsonlintPackage = typeof jsonlintPackage