Package Exports
- @alessiofrittoli/math-utils
- @alessiofrittoli/math-utils/format
- @alessiofrittoli/math-utils/helpers
- @alessiofrittoli/math-utils/interpolation
- @alessiofrittoli/math-utils/random
- @alessiofrittoli/math-utils/types
Readme
Math Utils 🤓
Version 0.2.1
Lightweight TypeScript math utility functions
This lightweight TypeScript utility library comes with common and utility math functions.
Everything is exported from the root of this library but specific paths can be used too (especially when dynamically importing functions and tree shaking has no effect).
Table of Contents
- Getting started
- Utilities
- ESLint
- Jest
- Security
- Credits
Getting started
Run the following command to start using math-utils in your projects:
npm i @alessiofrittoli/math-utilsor using pnpm
pnpm i @alessiofrittoli/math-utilsESLint
warnings / errors check.
pnpm lintJest
Run all the defined test suites by running the following:
# Run tests and watch file changes.
npm run test
# Run tests in a CI environment.
npm run test:ciSecurity
If you believe you have found a security vulnerability, we encourage you to responsibly disclose this and NOT open a public issue. We will investigate all legitimate reports. Email security@alessiofrittoli.it to disclose any security vulnerabilities.
Made with ☕
|
|
|