Search results

23 packages found

TypeScript implementation of invariant(condition, message)

published version 0.10.3, 3 years ago258 dependents licensed under $MIT
20,774,053

Precondition checking utilities.

published version 0.2.3, 11 years ago41 dependents
2,770,831

Invariant and non-null/undefined assertion check with type guards

published version 0.3.4, 3 years ago32 dependents licensed under $ISC
25,177

Preconditions utility for TypeScript and JavaScript.

published version 1.0.10, 3 months ago4 dependents licensed under $MIT
6,202

Middleware for HTTP Conditional Requests (RFC 7232)

published version 1.0.5, 7 years ago1 dependents licensed under $MIT
966

For safe coding

published version 1.0.0, 12 years ago3 dependents
2,504

Fast and boilerplate-free precondition checks for javascript.

published version 3.6.0, a year ago6 dependents licensed under $MIT
740

Preconditions for safe coding

published version 1.0.2, 12 years ago14 dependents
1,142

Code Contracts for TypeScript and ECMAScript classes

published version 0.25.3, 9 months ago0 dependents licensed under $AGPL-3.0-only
93

Design-by-Contract and Test-by-Contract for JavaScript

published version 4.1.2, 5 years ago3 dependents licensed under $Apache-2.0
57

A library with convenient checks for preconditions and more.

published version 0.2.6, 10 months ago0 dependents licensed under $ISC
57

Tiny JavaScript library for preconditions, postconditions and invariants, intended for use with Contractual.

published version 0.0.2, 11 years ago2 dependents licensed under $MIT
31

Design-by-Contract and Test-by-Contract for JavaScript

published version 3.1.1, 7 years ago0 dependents licensed under $Apache-2.0
33

Design by contract javascript library

published version 0.0.2, 5 years ago0 dependents licensed under $MIT
23

Design-by-Contract and Test-by-Contract for JavaScript

published version 5.0.0, 4 years ago2 dependents licensed under $Apache-2.0
22

Design by contract javascript library

published version 0.0.2, 5 years ago0 dependents licensed under $MIT
17

Middleware for HTTP Conditional Requests (RFC 7232)

published version 1.0.2, 4 years ago0 dependents licensed under $MIT
12

Design-by-Contract and Test-by-Contract for JavaScript

published version 6.0.1, 3 months ago0 dependents licensed under $Apache-2.0
11

Test usage of toryt/contracts as an npm module.

published version 0.0.0, 7 years ago0 dependents licensed under $Apache-2.0
11

Preconditions library

published version 1.0.0, 9 years ago0 dependents licensed under $MIT
7