0.1.0 • Published 3 years ago

solve-ode v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Boilerplate module

Boilerplate for a JavaScript module (browser + node).

Getting Started: in a web page

Current major browsers are supported but not Internet Explorer (edit targets in rollup.config.js and run npm run build to change this).

Load the script from the CDN:

<script src="https://cdn.jsdelivr.net/npm/boilerplate-module@1"></script>

The module is exported as BoilerplateModule:

<script>
  document.write(BoilerplateModule.version);
</script>

Getting Started: in Node.js

Node >= 12 is currently supported in the distributed modules.

Install from npm:

$ npm i boilerplate-module

Require CommonJS module:

// Default should work...
const BoilerplateModule = require('boilerplate-module');
// ...or specify CommonJS module.
const BoilerplateModule = require('boilerplate-module/dist/cjs');

or import as an ES6 module:

// Default should work...
import BoilerplateModule from 'boilerplate-module';
// ...or specify ES6 module.
import BoilerplateModule from 'boilerplate-module/dist/esm';

Using

Documentation

Contributing

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Acknowledgements