Just a personal NPM/browser module boilerplate to my liking, probably not very useful to anybody else. 😊 https://github.com/jakejarvis/npm-module-template
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Jake Jarvis b29b9dcef3
eslint 8.0.0
1 week ago
.github add dependabot config, clean up rollup, other tiny tweaks 1 month ago
src reorganize readme 3 weeks ago
.editorconfig add dependabot config, clean up rollup, other tiny tweaks 1 month ago
.eslintrc.json eslint 8.0.0 1 week ago
.gitattributes add dependabot config, clean up rollup, other tiny tweaks 1 month ago
.gitignore initial commit 🎉 2 months ago
LICENSE initial commit 🎉 2 months ago
README.md reorganize readme 3 weeks ago
package.json eslint 8.0.0 1 week ago
rollup.config.js properly resolve node builtins/dependencies 2 weeks ago
yarn.lock eslint 8.0.0 1 week ago

README.md

Universal JS Boilerplate

CI npm MIT License

Just a personal boilerplate to my liking for an Node and/or browser module w/ ESM, CommonJS, and UMD outputs via Babel & Rollup. Ready to publish on NPM and/or GitHub Packages and distibute via unpkg, skypack.dev, etc.

Probably not very useful to anybody else. 😊

The rest of the readme from now on is placeholder crap...

Install

npm install @jakejarvis/my-module --save-dev
# or...
yarn add @jakejarvis/my-module --dev

Usage

import { something } from "@jakejarvis/my-module";

something({ doSomething: true });

API

something(options?)

options

Type: object

doSomething

Type: boolean
Default: false

Makes it do something.

Examples

License

MIT