Search results
46 packages found
Like JSON.stringify, but doesn't blow up on circular refs.
Heaven.js's Data Mapper or Table Data Gateway for SQLite. CRUD API that parses and serializes your models.
Create eIDAS compatible XAdES digital signatures with certificate OCSP responses and timestamps. Works with the Estonian Id-card and Mobile-Id to create BDOCs, but isn't limited to Estonia.
Render JSX to JavaScript and HTML/XML. Works also on Node.js. No React dependency, no virtual DOM.
Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
Standard HTTP error class. Proper serialization, no bloat. Extensible.
Utilities for objects. Simple, tasteful and plentiful. Supports inherited properties.
A proper typeof that works with primitives, built-in value objects and those from other execution contexts.
Strict equality test (like ===) that handles both built-in and custom value objects (those with a valueOf function).
Range aka interval object. Supports exclusive and infinite ranges. Comes with an interval tree (augmented binary search tree).
Fetch API mixin to set a default base URL and options. Functional and immutable.
Tiny library that simplifies subclassing and inheriting from Error while keeping the correct name and stack. Also supports constructing from an object of properties. Saves you from boilerplate.
Fetch API mixin to buffer and parse response bodies. Supports media type patterns for content type specific custom parsers
Fetch API mixin to throw FetchError when the request fails or response has an error.
Error class that parses PostgreSQL's ErrorResponse format and sets human readable field names. Works with node-pg, too.
Polyfill for Promise.defer. Uses the native ES6 Promise. Supports other Promises/A+ implementations.
Tiny tagged template string function for safe SQL. Supports SQlite3, PostgreSQL and others.
Class for parsing, stringifying and manipulating media types. Useful for content negotiation. Follows RFC2045, supports quoted parameters, all allowed characters etc.
A simple yet extensible mutable model library with attribute comparisons and change events.
An error class for use with the Fetch API.