Skip to content

aleclarson/umd-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

umd-cli

Generate a UMD bundle from an NPM package.

Uses packd.now.sh as the bundler.

# using npx:
npx --quiet umd-cli lodash > lodash.umd.js

# or install directly:
npm install -g umd-cli
umd react@16 > react-16.umd.js

API

import umd from 'umd-cli'

// Fetch the UMD bundle into an in-memory buffer.
let promise = umd.fetch(name)

// Download the UMD bundle into a file.
let promise = umd.download(name, file)

About

Generate UMD bundles from NPM packages (using https://packd.now.sh)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published