Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@mathigon/core
Advanced tools
JavaScript utilities library containing function wrappers, string and array helper functions, type checking and event classes.
Core.js is a JavaScript utilities library containing function wrappers, string and array helper functions, type checking and event classes. It was developed for the mathematics education project Mathigon.org.
Core.js is not intended to be used on its own, but as a dependency of another
module or application. You can install it easily using
npm install @mathigon/core
.
Now use ES6 imports to require specific classes or functions:
import { average, Evented } from '@mathigon/core'
Finally, compile your JavaScript using rollup. Remember to include a plugin like rollup-plugin-node-resolve to correctly resolve the imports.
Coming soon!
While core.js was developed specifically for use by Mathigon, many of the functions are generic and reusable. We welcome community contributions: please file bugs or send us pull requests. You can find out more on Mathigon's contributions page.
Code and documentation are copyright (c) Mathigon. Released under the MIT license.
FAQs
TypeScript utilities library containing function wrappers, string and array helper functions, event classes and color utilities.
The npm package @mathigon/core receives a total of 1,363 weekly downloads. As such, @mathigon/core popularity was classified as popular.
We found that @mathigon/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.