Showing 1-20 of 1,380 packages
ES7 Proposal: Set#toJSON https://github.com/DavidBruant/Map-Set.prototype.toJSON
toJSON plugin for @knorm/knorm
A tool concentrating on converting csv data to JSON with customised parser supporting
Hides certain model properties when invoking toJSON or toObject.
ES7 Proposal: Map#toJSON https://github.com/DavidBruant/Map-Set.prototype.toJSON
Array of common fields to emit for Mongoose toObject/toJSON (helpful for security)
Common toJSON Transform for KeystoneJS / Mongoose Models
A Mongoose plugin to customize the toJSON output.
Augment errors with `Error#toJSON` that preserves `name`, `message`, `stack` as well as any other normally stringified attribute.
Simple extension of error, including: code, info, handled, logging, toJSON, toString
Used to annotate a class as a "model," adding metadata and a custom toJSON method. This method serializes the instance into JSON format, including fields marked with specific metadata. Associates the model with metadata (IModelOptions) using reflection, a
> @ToJson : property decorator for Typescript.
adds Error.toJSON() to make errors stringifieble
Mongoose plugin to replace _id by id and remove __v, __t when toJSON is called on a mongoose document
Small Backbone extension for recursively calling toJSON on models and collections
Library to store graph into simple json format
Turn a Javascript primitive into its "flat" representation. Aims to be equivalent to `JSON.parse(JSON.stringify(obj))`.
Converts a source-map from/to different formats and allows adding/changing properties.
Serialize module exports as JSON. Cache generated static data as JSON at build time.
Returns a JSON representation of an error (handles nested errors and calls nested toJSONs)