Search results
44 packages found
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Convert query strings to numbers for express/connect applications.
Parses and manipulates multiple comma-separated integer ranges (eg 1-3,8-10)
An ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3
Abaco an ultra fast number parser for Buffers. It parses a Buffer or a portion of it to get the Number value stored as (ASCII) String.
A tool to parse numbers from different locales
An ES-spec-compliant Number.parseInt shim/polyfill/replacement that works as far down as ES3
This is a JavaScript utility. It returns `true` if the value is a string number written in fixed notation and in decimal base.
The ts-is-number a utility npm package that checks if a given input is a valid finite number or a string that can be converted to a valid finite number.
parse Chinese numeric strings to integer
Returns sensible integer value of a given variable. Unlike parseInt it will never return NaN and you can set a default value to be returned in case the variable is undefined! Hence you can write even cleaner code. So if it's supposed to be an integer, cas
- intval
- int val
- int value
- integer value
- int
- integer
- parseint
- parse int
- parse integer
- number
- numeric
- type
- typecast
- isnan
- View more
parse Chinese numeric strings to integer
Convert to/from integer in any base
If this parseInt() encounters an invalid digit, it fails loudly instead of returning a partially parsed number.
Function will convert incoming value as integer. If argument is not a number, function will return 0.
Useful middlewares for Prisma ORM.
- prisma
- orm
- middleware
- cast
- types
- autocast
- auto type cast
- parseint
- soft delete
- delete
- deletedat
- deleted date
- autodates
- auto dates
- View more
Parse integers from comma separated string, including ranges.
Common typescript ready prototypes available in both CommonJS and ECMAScript
- server-side
- client-side
- common
- typescript
- prototype
- array
- all
- any
- append
- average
- chunk
- clone
- compact
- contains
- View more