File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -307,6 +307,20 @@ A child schema of JSON Graph Format can communicate its JSON schema using additi
307307 profile=http://jsongraphformat.info/schema.json;
308308 profile=http://jsongraphformat.info/child-schemas/bel-json-graph.schema.json
309309
310+ NPM support
311+ -----------
312+
313+ You can import the schema into your JS projects by installing it via NPM and requiring it.
314+
315+ .. code-block :: shell
316+
317+ npm install --save json-graph-specification
318+
319+
320+ .. code-block :: javascript
321+
322+ var JSONGraph = require (" json-graph-specification" );
323+
310324 Project Tests
311325-------------
312326
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " json-graph-specification" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " This JSON Graph Format is focused on capturing basic graph structure in a convenient to use format." ,
5+ "main" : " json-graph-schema.json" ,
6+ "directories" : {
7+ "example" : " examples"
8+ },
9+ "scripts" : {
10+ "test" : " echo \" Error: no test specified\" && exit 1"
11+ },
12+ "repository" : {
13+ "type" : " git" ,
14+ "url" : " https://github.com/jsongraph/json-graph-specification.git"
15+ },
16+ "keywords" : [
17+ " json" ,
18+ " graph" ,
19+ " schema" ,
20+ " nodes"
21+ ],
22+ "bugs" : {
23+ "url" : " https://github.com/jsongraph/json-graph-specification/issues"
24+ },
25+ "homepage" : " https://github.com/jsongraph/json-graph-specification"
26+ }
You can’t perform that action at this time.
0 commit comments