ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.46 kB
TypeScript
/**
* **flex** - The Fast Lexical Analyzer - scanner generator for lexing in C and C++
*
* @domain `github.com/westes/flex`
* @programs `flex`, `flex++`
* @version `2.6.4` (1 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install flex`
* @name `flex`
* @dependencies `gnu.org/gettext^0`, `gnu.org/m4^1`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.flex
* // Or access via domain
* const samePkg = pantry.githubcomwestesflex
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "flex"
* console.log(pkg.description) // "The Fast Lexical Analyzer - scanner generator f..."
* console.log(pkg.programs) // ["flex", "flex++"]
* console.log(pkg.versions[0]) // "2.6.4" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/westes/flex.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const flexPackage: {
/**
* The display name of this package.
*/
name: 'flex';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/westes/flex';
/**
* Brief description of what this package does.
*/
description: 'The Fast Lexical Analyzer - scanner generator for lexing in C and C++';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/westes/flex/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install flex';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['flex', 'flex++'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['gnu.org/gettext^0', 'gnu.org/m4^1'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['2.6.4'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) +github.com/westes/flex -- $SHELL -i';
launchpadInstallCommand: 'launchpad install flex'
};
export type FlexPackage = typeof flexPackage