latest-lib-cli

0.1.3 • Public • Published

latest-lib-cli Build Status

Get the latest version of a CSS or JavaScript library hosted on CDNJS

Install

$ npm install --global latest-lib-cli

Usage

$ latest-lib --help
Usage:
  $ latest-lib <name> [--only <css/js>]

Options:
  --only, -o  Return only the CSS/JavaScript files of the library in the
              response
  --help      Show this screen
  --version   Show version number

Examples:
  $ latest-lib jquery
  $ latest-lib jquery@2
  $ latest-lib bootstrap --only css
  $ latest-lib bootstrap --only js

Related

License

MIT © Gabriel Mangiurea

Dependencies (5)

Dev Dependencies (2)

Package Sidebar

Install

npm i latest-lib-cli

Weekly Downloads

3

Version

0.1.3

License

MIT

Last publish

Collaborators

  • gabrielmangiurea