Skip to content
Opinionated boilerplate intended to bootstrap development of npm modules.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.eslintrc
.gitignore
LICENCE.md
README.md
package-lock.json
package.json
rollup.config.js

README.md

npm-module-boilerplate

This is an opinionated boilerplate intended to bootstrap development of npm modules.

There is willingly no compilation task. JavaScript developers need to get the habits of compiling for themselves as it will greatly improve overall performance for the end user.

It comes with the strict minimum:

  • Rollup config & npm script to serve both ES module & CommonJS module
  • dependencies for eslint (airbnb-base, plugin-import & plugin-security)

You can even remove the Rollup config alltogether if you're developing for the server with CJS module only.

Getting started

Just download a copy of this repo (don't clone it, you're going to start a new git project).

Then you'll want to update or change the LICENCE and update the package.json with your own informations (repo, keywords, author, bugs…). And you're good to go!

You can’t perform that action at this time.