Projetosjsop
Sobre
JSON file reader/writer (powered by Object.observe)
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
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
Explore projetos relacionados
Carregando…