npm

Search results

63 packages found

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

published version 7.0.0, 8 years ago2818 dependents licensed under $MIT
698,004,970

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

published version 1.3.0, 2 years ago1252 dependents licensed under $MIT
294,798,981

A lightweight, schema-first validation library for Scalar

published version 0.6.0, 16 days ago7 dependents licensed under $MIT
1,345,456

Helper methods for manipulating variables

published version 1.7.0, 5 months ago20 dependents licensed under $MIT
96,610

Transforms various collections into arrays by whatever means they support

published version 1.0.0, 11 years ago0 dependents licensed under $MIT
60,006

Coerce props to custom values

published version 1.0.0, 7 years ago1 dependents licensed under $MIT
58,539

將環境變數值轉換為 JavaScript 類型值 (Convert env var value to JS type, support boolean conversion)

published version 2.0.3, 2 months ago10 dependents licensed under $ISC
17,805

Declarative, functional CLI argument/options parser, app framework, arg value coercions, multi/sub-commands, usage generation, error handling etc.

published version 3.2.24, a day ago8 dependents licensed under $Apache-2.0
8,136

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

published version 6.2.2, 16 days ago15 dependents licensed under $MIT
6,860

Coerces, validates and prettifies vehicle registration marks (VRMs)

published version 0.1.2, 10 years ago0 dependents licensed under $MIT
2,206

Type-safe utilities for filtering and coercing unknown values in TypeScript.

published version 0.1.16, 2 months ago0 dependents licensed under $MIT
2,054

Convert strings to JavaScript types (boolean, null, number, object, array)

published version 3.2.0, 23 days ago5 dependents licensed under $BSD-3-Clause
1,093

MMS - API Core - Common utils tools

published version 1.6.0, a year ago24 dependents licensed under $MIT
983

Runtime helpers (normalise + coerce primitives) used by @polyprism/ts-domain-class. The TypeScript-side runtime — only required when you choose the opinionated domain-class pattern. PHP users want the polyprism/runtime Composer package instead. ESM-first

published version 0.3.0, 16 hours ago0 dependents licensed under $MIT
886

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

published version 0.0.4, 12 years ago4 dependents
1,048

MMS - API Core - Common types, classes and functions

published version 1.6.0, a year ago24 dependents licensed under $MIT
746

Coerces, validates and prettifies vehicle registration marks (VRMs)

published version 0.1.3, 6 years ago0 dependents licensed under $MIT
556

Zero-dependency form data coercion

published version 3.0.0, 2 months ago0 dependents licensed under $MIT
426

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

published version 0.3.0, a month ago2 dependents licensed under $MIT
404

A lightweight utility that safely parses JSON without crashing applications. Supports fallback values, error logging, and required field validation.

published version 1.0.1, 17 days ago0 dependents licensed under $MIT
292