@aaronshaf/dem
Tool for downloading ECMAScript modules
Last updated a year ago by aaronshaf .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @aaronshaf/dem 
SYNC missed versions from official npm registry.

Download an ECMAScript module and its relative dependencies.

Install

npm install -g @aaronshaf/dem

Usage

dem [options] <source>

Options:
  -v, --version                  output the version number
  -d, --destination <directory>  directory to download to
  -b, --bundle <file>            bundle and minify into one file
  -h, --help                     output usage information

Examples

Simple download

dem https://unpkg.com/lit-html@0.12/lit-html.js

This downloads:

lit-html.js
lib/default-template-processor.js
lib/parts.js
lib/directive.js
lib/dom.js
lib/part.js
lib/template-instance.js
lib/template.js
lib/template-result.js
lib/render.js
lib/template-factory.js

Download to a specific directory

dem https://unpkg.com/lit-html@0.12/lit-html.js --destination vendor

Bundle and minify to a single file

dem https://unpkg.com/lit-html@0.12/lit-html.js --bundle lit-html.min.js

Current Tags

  • 2.1.3                                ...           latest (a year ago)

14 Versions

  • 2.1.3                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 14
This Month 46
Last Day 0
Last Week 17
Last Month 46
Dependencies (8)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |