JSPM

Found 51 results for coerce

is-number

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

  • v7.0.0
  • 126.98
  • Published

es-to-primitive

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

  • v1.3.0
  • 115.97
  • Published

putil-varhelpers

Helper methods for manipulating variables

  • v1.6.5
  • 66.57
  • Published

pop-arrayify

Transforms various collections into arrays by whatever means they support

  • v1.0.0
  • 58.99
  • Published

env-bool

env value to JS value, check env val is boolean or others

  • v2.0.1
  • 54.84
  • Published

valgen

Fast runtime type validator, converter and io (encoding/decoding) library

  • v5.18.2
  • 41.43
  • Published

tiny-coerce

Tiny coercion library for Client or Server

  • v3.0.2
  • 41.26
  • Published

@wopjs/cast

Filter types from unknown

  • v0.1.2
  • 40.03
  • Published

vrm

Coerces, validates and prettifies vehicle registration marks (VRMs)

  • v0.1.2
  • 38.34
  • Published

@thi.ng/args

Declarative, functional CLI argument/options parser, value coercions, sub-commands etc.

  • v2.9.2
  • 38.09
  • Published

vrm-no-fs

Coerces, validates and prettifies vehicle registration marks (VRMs)

  • v0.1.3
  • 34.09
  • Published

coercion

Helper module to parse/cast/coerce strings.

  • v1.1.0
  • 33.63
  • Published

type-coercion

Simple node module that coerce strings to certain types

  • v1.0.1
  • 31.67
  • Published

@mdf.js/utils

MMS - API Core - Common utils tools

  • v1.6.0
  • 31.23
  • Published

@mdf.js/core

MMS - API Core - Common types, classes and functions

  • v1.6.0
  • 30.77
  • Published

type-coerce

helper library to coerce values

  • v0.1.0
  • 27.70
  • Published

typeov

👺 weak but accurate type checking that returns a string representation of input's type

  • v1.2.6
  • 23.16
  • Published

@vionemc/ts-is-number

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc. A Typescript refactor version.

  • v1.0.0
  • 23.13
  • Published

@dylan/coerce

Change values on an object based on keywords or a key map.

  • v0.2.2
  • 21.62
  • Published

cli-types

Type validation and conversion

  • v0.1.2
  • 21.12
  • Published

argv-to-object

Maps command-line arguments to a configuration object.

  • v1.0.1
  • 20.18
  • Published

ensurism

A validation and conditional assignment utility belt

  • v0.7.0
  • 20.04
  • Published

useful-value

useful work around for existential getting/setting values in nested Objects

  • v0.0.4
  • 19.77
  • Published

env-to-object

Maps environment variables to a configuration object.

  • v1.1.0
  • 18.55
  • Published

confine

Simple JSON schema implementation designed to be used for JSON configuration files

  • v3.1.0
  • 18.48
  • Published

isnumber-js

A native module for effectively validating if a value is type Number.

  • v1.0.8
  • 17.63
  • Published

qc-to_num

A simple utility to convert various values to a JavaScript number.

  • v1.0.2
  • 17.59
  • Published

qc-to_bool

A simple utility to convert various values to a JavaScript boolean.

  • v1.1.2
  • 16.11
  • Published

cajole

coax data into formats

  • v0.1.0
  • 15.56
  • Published

qc-to_int

A simple utility to convert various values to a JavaScript number that is also an integer.

  • v1.0.1
  • 14.31
  • Published

qc-to_date

A simple JavaScript utility to convert various value to a Date.

  • v1.0.2
  • 13.06
  • Published

ts-is-number

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.

    • v1.1.0
    • 12.98
    • Published

    env-config-map

    Generates a config object from a config map using any input sources.

    • v1.0.4
    • 12.81
    • Published

    autocoerce

    A tiny library that automatically converts JSON fields to numbers or dates

    • v1.0.3
    • 12.48
    • Published

    coerce-tabular

    An object stream that coerces tabular data to numbers

    • v1.0.1
    • 11.55
    • Published

    coerce-number

    Coerce a numeric string value into a Number

    • v1.0.1
    • 9.56
    • Published

    qc-to_immutable_date

    A simple JavaScript utility to convert various values to an ImmutableDate.

    • v1.0.1
    • 7.92
    • Published

    @resolute/coerce

    Coerce input to types and formats with sanitizers and validators.

    • v0.0.6
    • 7.13
    • Published

    castaway

    cast JS objects to a specified schema, ahoy!

    • v0.1.1
    • 7.12
    • Published

    @daminort/data-caster

    A tool for cast and coerce data from one format to another

    • v0.1.2
    • 5.91
    • Published

    ullamofficiis

    env value to JS value, check env val is boolean or others

    • v1.0.0
    • 4.47
    • Published

    @package/value

    useful work around for existential getting/setting values in nested Objects

    • v0.0.16
    • 4.47
    • Published

    @compit/json-deep-coerce

    Deeply converts (coerces) a Json object to specified types via a mapping

    • v0.0.4
    • 2.92
    • Published

    supposedly

    A library to coerce values at run-time.

    • v6.0.2
    • 2.84
    • Published

    vedas

    A hackable, extendable, functionally-composable way to go about dealing with wrangling types in JavaScript. Auto-casting, coercion, and type inference for the Alice in WOnderland world that is JS runtime.

    • v1.0.10
    • 2.70
    • Published

    coerce-pattern

    Coerces values into a pattern

    • v1.0.4
    • 2.63
    • Published

    is-number-g

    Returns true if the value is a number. comprehensive tests.Study from jonschlinkert/is-number

    • v1.0.0
    • 0.00
    • Published