
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Maths.ts is a very extensive library for doing maths in TypeScript, JavaScript and Node.js. It is written in TypeScript looking for a strong typing. Math.ts features an expression parser and many other math functions to work comfortably with any data type coming.
Moreover, maths.ts is not limited to just some math functions. Maths.ts includes support for some well known algorithms such as graph's handling algorithms, some linear algebra approximation methods and algorithms, among others.
Maths.ts is available as the maths.ts
package on npm.
npm install maths.ts
We are working on a website to upload several examples but at this time we only have a few. Here is the first one to get you started:
let math = require('maths.ts');
a = math.evaluate('2*3'); // maths.ts obj {6}
a.multiply(4); // maths.ts obj {24}
Please use brackets to avoid ambiguities like 2^3^4. 2^3^4 may be interpreted as 2^(3^4) as well as (2^3)^4, throwing two different results.
At this time it is not available on a CDN. So in order to use it in browser it is necessary to compile it. To do so you'll need to follow the next instructions:
git clone https://github.com/IpiVasquez/maths.ts.git
cd maths.ts
npm install
npm run gulp
These lines will create a file on maths.ts/bundle/ which will contain maths.js and maths.min.js, ready to use in your browser.
There are many ways to contribute to maths.ts.
This project has adopted the Contributor Covenant Code of Conduct.
FAQs
Math utilities library for TypeScript, JavaScript and Node.js
The npm package maths.ts receives a total of 113 weekly downloads. As such, maths.ts popularity was classified as not popular.
We found that maths.ts demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.