Search results

1000+ packages found

Infer the content-type of a request.

published version 1.6.18, 6 years ago1494 dependents licensed under $MIT
100,009,080

Check if something is a generator function

published version 3.0.0, 3 years ago952 dependents licensed under $MIT
68,913,774

What is the type of this builtin JS value?

published version 1.2.1, a month ago513 dependents licensed under $MIT
64,339,971

Detect the file type of a file, stream, or data

published version 19.6.0, 3 months ago2254 dependents licensed under $MIT
67,224,433

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

published version 2.0.1, 7 years ago819 dependents licensed under $MIT
70,168,527

Check if a value is an object

published version 3.0.0, 4 years ago950 dependents licensed under $MIT
76,141,849

Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.

published version 3.0.5, a year ago815 dependents licensed under $MIT
82,533,301

Determine if an object is a Stream

published version 0.1.2, 10 years ago674 dependents licensed under $MIT
57,389,610

Type check values

published version 7.0.1, 4 months ago325 dependents licensed under $MIT
65,035,839

TypeScript-first schema declaration and validation library with static type inference

published version 3.24.1, a month ago19617 dependents licensed under $MIT
51,653,884

Easily create a fully-typed Express JSON RPC API over HTTP. No code generation step required. Inspired by tRPC, but much simpler.

published version 2.0.0, a year ago7 dependents licensed under $MIT
107

unist utility to check if a node passes a test

published version 6.0.0, 2 years ago279 dependents licensed under $MIT
49,893,395

Runtime validation and processing of JavaScript types

published version 2.7.3, 8 months ago201 dependents licensed under $ISC
43,515,765

Runtime library to validate data against TypeScript interfaces

published version 1.0.2, 3 years ago538 dependents licensed under $Apache-2.0
36,475,967

Check if a value is a regular expression

published version 3.1.0, 3 years ago312 dependents licensed under $MIT
28,836,616

Effortlessly convert your JSON Object to JSON Schema, Mongoose Schema, or a Generic template for quick documentation / upstart.

published version 2.6.0, 7 years ago190 dependents licensed under $MIT
245,005

Stringify an object/array like JSON.stringify just without all the double-quotes

published version 5.0.0, 2 years ago708 dependents licensed under $BSD-2-Clause
22,985,450

Check if something is a promise

published version 4.0.0, 4 years ago278 dependents licensed under $MIT
19,559,201

Isomorphic, functional type-checking for Javascript

published version 7.3.0, 2 months ago75 dependents licensed under $MIT
16,162,072

A little library for asserting types and values, with zero dependencies.

published version 11.2.3, a year ago803 dependents licensed under $MIT
13,620,360