UNPKG

ts-pkgx

Version:

A library & CLI for managing packages

76 lines 2.48 kB
/** * **hurl** - Run and Test HTTP Requests with plain text and curl * * @domain `hurl.dev` * @programs `hurl`, `hurlfmt` * @version `7.0.0` (10 versions available) * @versions From newest version to oldest. * * @install `launchpad install hurl` * @name `hurl` * @dependencies `gnome.org/libxml2~2.13 # 2.14 changed the API`, `curl.se` * * @example * ```typescript * import { pantry } from 'ts-pkgx' * * // Access the package * const pkg = pantry.hurl * // Or access via domain * const samePkg = pantry.hurldev * console.log(pkg === samePkg) // true * console.log(pkg.name) // "hurl" * console.log(pkg.description) // "Run and Test HTTP Requests with plain text and ..." * console.log(pkg.programs) // ["hurl", "hurlfmt"] * console.log(pkg.versions[0]) // "7.0.0" (latest) * ``` * * @see https://ts-pkgx.netlify.app/packages/hurl-dev.md * @see https://ts-pkgx.netlify.app/usage */ export declare const hurlPackage: { /** * The display name of this package. */ name: 'hurl'; /** * The canonical domain name for this package. */ domain: 'hurl.dev'; /** * Brief description of what this package does. */ description: 'Run and Test HTTP Requests with plain text and curl'; packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/hurl.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 hurl'; /** * Executable programs provided by this package. * These can be run after installation. */ programs: readonly ['hurl', 'hurlfmt']; companions: readonly []; /** * Required dependencies for this package. * These will be automatically installed. */ dependencies: readonly ['gnome.org/libxml2~2.13 # 2.14 changed the API', 'curl.se']; /** * Available versions from newest to oldest. * @see https://ts-pkgx.netlify.app/usage for installation instructions */ versions: readonly ['7.0.0', '6.1.1', '6.1.0', '6.0.0', '5.0.1', '5.0.0', '4.3.0', '4.2.0', '4.1.0', '4.0.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) +hurl.dev -- $SHELL -i'; launchpadInstallCommand: 'launchpad install hurl' }; export type HurlPackage = typeof hurlPackage