0.0.2 • Published 8 years ago

librarian-package-managers v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Package Managers Build Status Coverage Status

Metadata extracted from Libraries.io about many different package managers in a standard format.

String interpolation of commands and urls is done using mustache in an attempt at cross language compatibility.

All data is stored in JSON where the key for each package manager is the name of the repository in lower case.

Each attribute relates to the source of some information about a package that can be inferred from just the package manager, name of the package and optionally it's version.

See package-managers.json for the full data set.

Data format

"rubygems": {
  "install": "gem install {{name}} {{#version}}-v {{version}}{{/version}}",
  "download": "https://rubygems.org/downloads/{{name}}-{{version}}.gem",
  "url": "https://rubygems.org/gems/{{name}}{{#version}}/versions/{{version}}{{/version}}",
  "documentation": "http://www.rubydoc.info/gems/{{name}}/{{version}}"
}

Valid Keys

install

The shell command to install a package, possibly to install a specific version of that package.

download

The url to a tarball/zip of the source code of that package, most likely to a specific version of that package.

documentation

The url to automatically generated documentation for that package, possibly to a specific version of that package.

url

The url for the page on the repository website for that package, possibly to a specific version of that package.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/librariesio/package-managers. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The project is available as open source under the terms of the MIT License.