Search results
23 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
TypeScript implementation of invariant(condition, message)
Precondition checking utilities.
Invariant and non-null/undefined assertion check with type guards
Preconditions utility for TypeScript and JavaScript.
Middleware for HTTP Conditional Requests (RFC 7232)
- express
- condition
- conditional
- If-Match
- If-None-Match
- If-Modified-Since
- If-Unmodified-Since
- If-Range
- request
- 7232
- rfc7232
- precondition
For safe coding
Fast and boilerplate-free precondition checks for javascript.
- contract
- precondition
- postcondition
- invariant
- offensive
- defensive
- programming
- duck-typing
- crash early
- fail fast
- readable
- boilerplate
- dsl
- browserify
- View more
Preconditions for safe coding
Code Contracts for TypeScript and ECMAScript classes
- assertion
- biconditional
- behavioral-subtyping
- code-contracts
- decorators
- demands
- design-by-contract
- encapsulation
- exception-handling
- if-and-only-if
- invariant
- liskov-substitution-principle
- LSP
- material-implication
- View more
Design-by-Contract and Test-by-Contract for JavaScript
A library with convenient checks for preconditions and more.
Tiny JavaScript library for preconditions, postconditions and invariants, intended for use with Contractual.
Design-by-Contract and Test-by-Contract for JavaScript
Design by contract javascript library
Design-by-Contract and Test-by-Contract for JavaScript
Design by contract javascript library
Middleware for HTTP Conditional Requests (RFC 7232)
- express
- condition
- conditional
- If-Match
- If-None-Match
- If-Modified-Since
- If-Unmodified-Since
- If-Range
- request
- 7232
- rfc7232
- precondition
Design-by-Contract and Test-by-Contract for JavaScript
Test usage of toryt/contracts as an npm module.
- design-by-contract
- test-by-contract
- Toryt
- unit
- test
- contract
- contracts
- precondition
- postcondition
- invariant
- usage
- demo
Preconditions library