1
mirror of https://github.com/jakejarvis/npm-module-template.git synced 2025-04-26 02:55:23 -04:00
2021-10-12 20:36:14 -04:00
2021-09-29 20:53:10 -04:00
2021-10-12 20:36:14 -04:00
2021-08-30 19:46:22 -04:00
2021-08-30 19:46:22 -04:00
2021-10-12 20:36:14 -04:00
2021-09-29 20:53:10 -04:00
2021-10-12 20:36:14 -04:00

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

Description
Just a personal NPM/browser module boilerplate to my liking, probably not very useful to anybody else. 😊
https://github.com/jakejarvis/npm-module-template
Readme MIT 544 KiB
Languages
JavaScript 100%