- Function wrappers for caching and throttling (
- Object handling (
- Array generation (
- Array utilities (
- String utilities (
- Functions for type checking (
- Evented class, supporting
- Misc utilities (
First, install core.js from NPM using
npm install @mathigon/core --save
Core.js uses ES6 imports. While some browsers and platforms now support this feature, we recommend using a transpiler such as Babel or Rollup. Make sure that you configure your compiler to correctly resolve these imports. For Rollup, we recommend using the rollup-plugin-node-resolve plugin.
Now, simply import all functions and classes you need, using
We welcome community contributions: please file any bugs you find or send us pull requests with improvements. You can find out more on Mathigon.io.
Before submitting a pull request, you will need to sign the Mathigon Individual Contributor License Agreement.