ts-pkgx
Version:
A library & CLI for managing packages
69 lines • 2.19 kB
TypeScript
/**
* **json** - A fast streaming JSON parsing library in C.
*
* @domain `lloyd.github.io/yajl`
* @programs `json_reformat`, `json_verify`
* @version `2.1.0` (1 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install +lloyd.github.io/yajl -- $SHELL -i`
* @aliases `json`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access via alias (recommended)
* const pkg = pantry.json
* // Or access via domain
* const samePkg = pantry.lloydgithubioyajl
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "yajl"
* console.log(pkg.description) // "A fast streaming JSON parsing library in C."
* console.log(pkg.programs) // ["json_reformat", "json_verify"]
* console.log(pkg.versions[0]) // "2.1.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/lloyd-github-io/yajl.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const jsonPackage: {
/**
* The display name of this package.
*/
name: 'yajl';
/**
* The canonical domain name for this package.
*/
domain: 'lloyd.github.io/yajl';
/**
* Brief description of what this package does.
*/
description: 'A fast streaming JSON parsing library in C.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/lloyd.github.io/yajl/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install +lloyd.github.io/yajl -- $SHELL -i';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['json_reformat', 'json_verify'];
companions: readonly [];
dependencies: readonly [];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['2.1.0'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly ['json']
};
export type JsonPackage = typeof jsonPackage