$ npm install file-store-sync
Simply the module return a constructor that receive as a unique parameter the path to the file to use and just execute the operations that you need. Remember, no callbacks, all the operations are synchronously.
var FileStoreSync = ;var store = './store-test';
'use strict';var FileStoreSync = ;var store = './store-test';store;store;console;store;console;store;console;store;console;
I would like to appreciate to Raynos to develop the file-store project and release that under MIT license.
License (The MIT License)
Copyright (c) 2013 Ivan Fraixedes Cugat firstname.lastname@example.org
This project is a fork from the project file-store developed Raynos (https://github.com/Raynos/file-store)
Copyright (c) 2012 Raynos.