Socket
Socket
Sign inDemoInstall

@aaronshaf/dem

Package Overview
Dependencies
8
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aaronshaf/dem

Tool for downloading ECMAScript modules


Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Install size
22.8 MB
Created
Weekly downloads
 

Readme

Source

Download an ECMAScript module and its dependencies.

Install

npm install -g @aaronshaf/dem

Usage

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

Keywords

FAQs

Last updated on 17 Oct 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc