generator-browser-node-module

1.4.1 • Public • Published

generator-browser-node-module Build Status

Scaffold out a library for both the browser and node

The boilerplate repo is here.

This generator is inspired from sindresorhus/generator-nm.

The scaffolding is similar, it adds support for shipping your code to the browser using Rollup as a bundler.

Here is a great read about the choice of using rollup for libraries.

Install

npm install -g yo
npm install -g generator-browser-node-module

Usage

First make sure you're in your project folder (mkdir my-awesome-project && cd my-awesome-project/), then run

yo browser-node-module

or just

yo

and select Browser Node Module.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.4.1
    1
    • latest

Version History

Package Sidebar

Install

npm i generator-browser-node-module

Weekly Downloads

2

Version

1.4.1

License

MIT

Unpacked Size

11.8 kB

Total Files

22

Last publish

Collaborators

  • marcofugaro