ts-pkgx
Version:
A library & CLI for managing packages
76 lines • 2.78 kB
TypeScript
/**
* **sndfile** - A C library for reading and writing sound files containing sampled audio data.
*
* @domain `github.com/libsndfile/libsndfile`
* @programs `sndfile-info`, `sndfile-convert`, `sndfile-play`
* @version `1.2.2` (3 versions available)
* @versions From newest version to oldest.
*
* @install `launchpad install sndfile`
* @name `sndfile`
* @dependencies `xiph.org/flac`, `lame.sourceforge.io`, `xiph.org/ogg`, ... (+3 more)
*
* @example
* ```typescript
* import { pantry } from 'ts-pkgx'
*
* // Access the package
* const pkg = pantry.sndfile
* // Or access via domain
* const samePkg = pantry.githubcomlibsndfilelibsndfile
* console.log(pkg === samePkg) // true
* console.log(pkg.name) // "sndfile"
* console.log(pkg.description) // "A C library for reading and writing sound files..."
* console.log(pkg.programs) // ["sndfile-info", "sndfile-convert", ...]
* console.log(pkg.versions[0]) // "1.2.2" (latest)
* ```
*
* @see https://ts-pkgx.netlify.app/packages/github-com/libsndfile/libsndfile.md
* @see https://ts-pkgx.netlify.app/usage
*/
export declare const sndfilePackage: {
/**
* The display name of this package.
*/
name: 'sndfile';
/**
* The canonical domain name for this package.
*/
domain: 'github.com/libsndfile/libsndfile';
/**
* Brief description of what this package does.
*/
description: 'A C library for reading and writing sound files containing sampled audio data.';
packageYmlUrl: 'https://github.com/pkgxdev/pantry/tree/main/projects/github.com/libsndfile/libsndfile/package.yml';
homepageUrl: '';
githubUrl: 'https://github.com/pkgxdev/pantry/';
/**
* Command to install this package using launchpad.
* @example launchpad install package-name
*/
installCommand: 'launchpad install sndfile';
/**
* Executable programs provided by this package.
* These can be run after installation.
*/
programs: readonly ['sndfile-info', 'sndfile-convert', 'sndfile-play'];
companions: readonly [];
/**
* Required dependencies for this package.
* These will be automatically installed.
*/
dependencies: readonly ['xiph.org/flac', 'lame.sourceforge.io', 'xiph.org/ogg', 'xiph.org/vorbis', 'mpg123.de', 'opus-codec.org'];
/**
* Available versions from newest to oldest.
* @see https://ts-pkgx.netlify.app/usage for installation instructions
*/
versions: readonly ['1.2.2', '1.2.1', '1.2.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) +github.com/libsndfile/libsndfile -- $SHELL -i';
launchpadInstallCommand: 'launchpad install sndfile'
};
export type SndfilePackage = typeof sndfilePackage