Skip to content

Instantly share code, notes, and snippets.

View manikanta-kotha's full-sized avatar

Manikanta manikanta-kotha

View GitHub Profile
manikanta-kotha / index.js
Created August 10, 2017 06:38
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
const schema = require('json-to-json-schema')
const convert = schema.convert
let sample = {
"hierarchy_type": "app",
"hierarchy_id": 0
let generate_schema = convert(sample)