JSON file editing with transactions

npm install nor-json-file
2 downloads in the last week
4 downloads in the last month


Prototype of JSON file editing with JSON diff based transactions.

```javascript var file = 'samples/test.json'; var JSONFile = require('nor-json-file'); { data.messages.push( {'subject':'Hello', 'body':'This is a test message.'} ); return data.commit(); }).then(function() { util.debug('Successfully edited '+file); }).fail(function(err) { / ... / }).done();

/ EOF /

npm loves you