Showing 1-20 of 1,342 packages
ES7 Proposal: Set#toJSON https://github.com/DavidBruant/Map-Set.prototype.toJSON
toJSON plugin for @knorm/knorm
Hides certain model properties when invoking toJSON or toObject.
ES7 Proposal: Map#toJSON https://github.com/DavidBruant/Map-Set.prototype.toJSON
Common toJSON Transform for KeystoneJS / Mongoose Models
Array of common fields to emit for Mongoose toObject/toJSON (helpful for security)
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
Converts a source-map from/to different formats and allows adding/changing properties.
Turn a Javascript primitive into its "flat" representation. Aims to be equivalent to `JSON.parse(JSON.stringify(obj))`.
Serialize module exports as JSON. Cache generated static data as JSON at build time.
`heimdalljs-graph` is intended to be the primary entry point for doing visualizations with data gathered by [Heimdall](https://github.com/heimdalljs/heimdalljs-lib).
Backbone helper that alters "toJson" function to extend functionalities.