Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 996 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 996 Bytes

outset-lib

outset-lib on NPM

A boilerplate for vanilla JavaScript libraries.

Features

  • Convenient. Scaffold a project by running 1 command in your terminal.
  • Customized. The library name you choose is used to pre-populate the template.
  • Modern. Write ES6/7 syntax, and let users consume it how they want to (AMD, CommonJS, or script tag).
  • Lean. Distribution files support users with tree-shaking bundlers (and the package.json is setup correctly).

Install

Using NPM, install outset-lib globally.

$ npm install outset-lib -g

Use

To create a new project:

# make a directory for it
$ mkdir project && cd project

# run outset-lib, passing the project name
$ outset-lib project

# install dependencies, and start coding
$ npm i && npm run dev

License

MIT. © 2017 Michael Cavalea