Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Small math? Simple math? Or supplemental math? Canonically, "SMath" is pronounced "smath" and stands for "small math (library.)" Similar to JavaScript's builtin Math
object, SMath
exports one global object with several math-related helper functions. There is no need to instantiate the class, just call functions directly. See the examples below to get started using SMath!
SMath is also packaged with an executabe that can be run directly through npx
in the terminal - even outside of a NodeJS project! In fact, open your terminal now, and type the following to show a list of valid npx smath
commands!
npx smath help
Commands are all structured like this.
npx smath [cmd] [args]
This example command returns the value 0.4.
npx smath normalize 4 0 10
Most
SMath
functions are available throughnpx
, except for calculus functions which require a functional argument.
FAQs
Small math function library
The npm package smath receives a total of 117 weekly downloads. As such, smath popularity was classified as not popular.
We found that smath 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.