# jsop **Repository Path**: mirrors_leecade/jsop ## Basic Information - **Project Name**: jsop - **Description**: Node 0.12 and io.js JSON file reader/writer (powered by Object.observe) - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jsop [![](https://travis-ci.org/typicode/jsop.svg?branch=master)](https://travis-ci.org/typicode/jsop) [![](https://badge.fury.io/js/jsop.svg)](https://www.npmjs.com/package/jsop) > One-way data binding for JSON files jsop is a __new__ kind of JSON file reader/writer for __Node 0.12__ and __io.js__ powered by Object.observe. ## Before ```javascript 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 ```javascript var jsop = require('jsop') var config = jsop('config.json') config.foo = 'bar' ``` _Changes are automatically written to file._ ## License MIT - [Typicode](https://github.com/typicode) _* jsop is short for jsonOpen_