Skip to content
This repository has been archived by the owner on Mar 31, 2018. It is now read-only.

Latest commit

 

History

History
41 lines (26 loc) · 856 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 856 Bytes

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