ts-pkgx
Version:
A library & CLI for managing packages
81 lines • 2.66 kB
TypeScript
/**
* **tinygo** - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
*
* @domain `tinygo.org`
* @programs `tinygo`
* @version `0.39.0` (9 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install tinygo`
* @name `tinygo`
* @dependencies `go.dev`
* @companions `llvm.org`
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.tinygo
* // Or access via domain
* const samePkg = pantry.tinygoorg
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "tinygo"
* console.log(pkg.description) // "Go compiler for small places. Microcontrollers,..."
* console.log(pkg.programs) // ["tinygo"]
* console.log(pkg.versions[0]) // "0.39.0" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/tinygo-org.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const tinygoPackage: {
/**
* The display name of this package.
*/
name: 'tinygo';
/**
* The canonical domain name for this package.
*/
domain: 'tinygo.org';
/**
* Brief description of what this package does.
*/
description: 'Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/tinygo.org/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/tinygo-org/tinygo';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install tinygo';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['tinygo'];
/**
* Related packages that work well with this package.
* Consider installing these for enhanced functionality.
*/
companions: readonly ['llvm.org'];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['go.dev'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['0.39.0', '0.38.0', '0.37.0', '0.36.0', '0.35.0', '0.34.0', '0.33.0', '0.32.0', '0.31.2'];
/**
* Alternative names for this package.
* You can use any of these names to access the package.
*/
aliases: readonly [];
pkgxInstallCommand: 'sh <(curl https://pkgx.sh) tinygo -- $SHELL -i';
launchpadInstallCommand: 'launchpad install tinygo'
};
export type TinygoPackage = typeof tinygoPackage