513 packages found
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Get the native type of a value.
Returns `true` if the string is upper case only.
Returns `true` if the string is lower case only
Convert query strings to dates for express/connect applications.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Test if a value is a boolean.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
boolean converts lots of things to boolean.
Isomorphic, functional type-checking for Javascript
Transform and convert any value into boolean
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
Returns `true` if the value is a primitive.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
- array
- assert
- assertion
- async
- async function
- async-function
- asyncFunction
- bool
- boolean
- browser
- check
- check-type
- checking
- class
- View more
Convert query strings to numbers and booleans for express/connect applications.
Parse simple expressions, in a language of your own description
Deep clones all fields of the original objects even functions.
Middleware for describing and validating your REST API routes using JSON schemas.
Boolean logical and Bitwise "Implies" operators