baobab-jsoneditor
v0.2.16
Published
A devtool UI widget that shows BaobabJS in a nicely formated JSON Editor
Downloads
46
Maintainers
Readme
baobab-jsoneditor
A browser devtool that shows BaobabJS in a nicely formated JSON Editor widget
Install:
Via CDN, just include in the head or your HTML document:
<script src="https://rawgit.com/dumconstantin/baobab-jsoneditor/master/build/bundle.min-web.js"></script>
Or Via NPM:
$ npm install --save-dev baobab-jsoneditor
Usage:
Just include the module where your Baobab tree lies:
var baobabJsonEditor = require('baobab-jsoneditor')
var tree = new Baobab({
foo: {
bar: 123
}
})
baobabJsonEditor(tree)
Credits
https://github.com/josdejong/jsoneditor - For an excelent and simple to use JsonEditor widget https://github.com/Yomguithereal/baobab - For building an awesome state library
Contributing:
Feel free to open issues to propose stuff and participate. Pull requests are also welcome.