ts-pkgx
Version:
A library & CLI for managing packages
81 lines • 2.46 kB
TypeScript
/**
* **lua** - Powerful, lightweight programming language
*
* @domain `lua.org`
* @programs `lua`, `luac`
* @version `5.4.8` (4 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install lua`
* @name `lua`
* @dependencies `gnu.org/readline`
* @companions `luarocks.org`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.lua
* // Or access via domain
* const samePkg = pantry.luaorg
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "lua"
* console.log(pkg.description) // "Powerful, lightweight programming language"
* console.log(pkg.programs) // ["lua", "luac"]
* console.log(pkg.versions[0]) // "5.4.8" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/lua-org.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const luaPackage: {
/**
* The display name of this package.
*/
name: 'lua';
/**
* The canonical domain name for this package.
*/
domain: 'lua.org';
/**
* Brief description of what this package does.
*/
description: 'Powerful, lightweight programming language';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/lua.org/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install lua';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['lua', 'luac'];
/**
* Related packages that work well with this package.
* Consider installing these for enhanced functionality.
*/
companions: readonly ['luarocks.org'];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['gnu.org/readline'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['5.4.8', '5.4.7', '5.4.6', '5.4.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) +lua.org -- $SHELL -i';
launchpadInstallCommand: 'launchpad install lua'
};
export type LuaPackage = typeof luaPackage