Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@mathigon/core
Advanced tools
JavaScript utilities library containing function wrappers, string and array helper functions, type checking and event classes.
Core.js is a library of JavaScript utility function and classes, including array and string helper functions, type checking and event classes. It was developed for Mathigon.org, an award-winning mathematics education project.
cache()
, throttle()
)shallowCopy()
, deepCopy()
, extend()
, some()
, …)tabulate()
, list()
)total()
, flatten()
, chunk()
, intersect()
, …)toCamelCase()
, isPalindrome()
, autocorrect()
, …)typeOf()
, isString()
, isInteger()
, …).on()
, .off()
and .trigger()
methodsuid()
, isOneOf()
, clamp()
, …)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
import { tabulate, toCamelCase, Evented } from '@mathigon/core'
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.
Copyright © Mathigon (dev@mathigon.org)
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 7,101 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 0 open source maintainers 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.