@graphistry/falcor-json-graph

A set of factory functions for creating JSON Graph values.

Stats

StarsIssuesVersionUpdatedCreatedSize
@graphistry/falcor-json-graph
2422.9.104 years ago5 years agoMinified + gzip package size for @graphistry/falcor-json-graph in KB

Readme

falcor-json-graph

A set of factory functions for creating JSON Graph values.

var jsonGraph = require('falcor-json-graph');

var atom = jsonGraph.atom("a string wrapped in an atom"); // creates { $type: "atom", value: "a string wrapped in an atom" }
var ref = jsonGraph.ref("todos[0].name"); // creates { $type: "ref", value: ["todos", 0, "name"] }
var error = jsonGraph.error("something bad happened."); // creates { $type: "error", value: "something bad happened." }

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.