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.
Parses and manipulates multiple comma-separated integer ranges (eg 1-3,8-10)
A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.
Parses formatted numeric strings into numbers. Handles cases parseFloat() misses.
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
An ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3
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
The lodash method `_.parseInt` exported as a module.
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.
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.
Convert query strings to numbers for express/connect applications.
parse Chinese numeric strings to integer
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
esformatter plugin that adds the radix parameter to parseInt
This is a JavaScript utility. It returns `true` if the value is a string number written in fixed notation and in decimal base.
An ES-spec-compliant Number.parseInt shim/polyfill/replacement that works as far down as ES3
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
A tool to parse numbers from different locales
Parses a string argument and returns an integer of the specified radix.