Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aaronshaf/dem

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aaronshaf/dem

Tool for downloading ECMAScript modules

  • 2.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 18 Dec 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc