Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngest

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngest

Ingests multiple JSON schemas into one schema, by resolving $ref property data. Will ingest absolute and relative references

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
35
increased by337.5%
Maintainers
3
Weekly downloads
 
Created
Source

ngest

CircleCI Build Status

Ingests multiple JSON schemas into one schema, by resolving $ref property data. Will ingest absolute and relative references

What is it for?

You know those times when you have loads of json schema and sub-schema that you need to use but don't want to or can't have them on an open network location, well this script allows you to download or ingest them and produce one composite schema, that you can put in that secure location.

Install

Install with npm

$ npm i ngest --save-dev

Usage

var ngest = require('ngest');
ngest(source, destination);

If you want to generate sample data use

var ngest = require('ngest');
ngest(source, destination, sample);

Where

  • source is path to source schema
  • destination is path you want to write the composite schema
  • sample is the path you want to write the sample json

Both the source and destination are file locations currently. The script will only ready from a local file system.

Roadmap

  • Accept remote locations for source and destination
  • Download schemas from http locations
  • Return composite schema instead of writing to a file

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Authors

Morlene Fisher

David Toth

License

Copyright © 2016 Kenobi Media Ltd Licensed under the MIT license.

Keywords

FAQs

Package last updated on 09 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc