@helpers4/number
v2.0.1
Published
A set of helpers in TS/JS, compatible with tree-shaking, for number.
Maintainers
Readme
@helpers4
The @helpers4 are a collection of helper functions for use in any project, whatever the framework.
Every helper is a standalone module and supports tree-shaking, so you can use only the helpers you need without embedding the whole library.
@helpers4/number
A set of helpers for working with URLs.
Documentation
https://helpers4.dev/typescript/categories/number/
- clamp
- formatCompact
- formatSize
- inRange
- lerp
- mean
- random
- roundTo
- sum
See
All Available Packages
| Name | Package | Source Code | Description | |------|---------|-------------|-------------| | array | @helpers4/array | Source | Array manipulation utilities | | ci | @helpers4/ci | Source | CI/CD workflow status utilities | | commit | @helpers4/commit | Source | Conventional Commits parsing and analysis | | date | @helpers4/date | Source | Date and time utility functions | | function | @helpers4/function | Source | Function utilities and type guards | | id | @helpers4/id | Source | Unique identifier generation utilities | | markdown | @helpers4/markdown | Source | Markdown formatting and escaping utilities | | node | @helpers4/node | Source | Node.js-specific utilities | | number | @helpers4/number | Source | Number utility functions and validation | | object | @helpers4/object | Source | Object manipulation utilities | | observable | @helpers4/observable | Source | Observable utilities and combinators | | promise | @helpers4/promise | Source | Promise utilities and error handling | | string | @helpers4/string | Source | String manipulation and formatting utilities | | type | @helpers4/type | Source | Type checking and validation utilities | | url | @helpers4/url | Source | URL parsing and manipulation utilities | | version | @helpers4/version | Source | Version string manipulation utilities |
