Proyectosjsop
Acerca de
JSON file reader/writer (powered by Object.observe)
Herramientas de desarrolloCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Originaljsop

One-way data binding for JSON files
jsop is a JSON file reader/writer powered by Object.observe.
Before
var fs = require('fs')
var config = JSON.parse(fs.readFileSync('config.json'))
config.foo = 'bar'
fs.writeFile('config.json', JSON.stringify(config), function(err) {
if (err) throw err
})
After
var jsop = require('jsop')
var config = jsop('config.json')
config.foo = 'bar'
Changes are automatically written to file. If file doesn't exist, it will be created.
License
MIT - Typicode
* jsop is short for jsonOpen
Explorar proyectos relacionados
Cargando…