10 packages found
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
cast JS objects to a specified schema, ahoy!
A small schema enforcer that attempts to cast the properties of an object to the types you want 'em to be.
Convert undetermined data types to the type you want
Typecast properties in object streams
A npdynamodb plugin for casting hash and range key with actual attribution type
Easily and automatically cast common datatypes in JavaScript
utilitys for typescript
unmarshalling and type-casting in javascript
Iterates through objects and converts strings that look like numbers into numbers