@helpers4/number
v3.1.1
Published
A set of helpers in TS/JS, compatible with tree-shaking, for number.
Downloads
740
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
- correctFloat
- extractNumber
- formatCompact
- formatSize
- inRange
- isEven
- isNegative
- isOdd
- isPositive
- lerp
- random
- roundTo
See
- array
- ci
- color
- commit
- date
- function
- guard
- id
- map
- markdown
- node
- object
- observable
- promise
- set
- string
- structure
- type
- url
- version
All Available Packages
| Name | Package | Source Code | Description | |------|---------|-------------|-------------| | array | @helpers4/array | Source | Array manipulation utilities | | ci | @helpers4/ci | Source | CI/CD workflow status utilities | | color | @helpers4/color | Source | Color conversion and validation 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 | | guard | @helpers4/guard | Source | Runtime type guard utilities | | id | @helpers4/id | Source | Unique identifier generation utilities | | map | @helpers4/map | Source | Native Map manipulation 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 | | set | @helpers4/set | Source | Native Set manipulation utilities | | string | @helpers4/string | Source | String manipulation and formatting utilities | | structure | @helpers4/structure | Source | Generic, domain-agnostic data structures | | type | @helpers4/type | Source | Compile-time TypeScript utility types | | url | @helpers4/url | Source | URL parsing and manipulation utilities | | version | @helpers4/version | Source | Version string manipulation utilities |
