build/shelf.js
function (fileName, key, value) {
            var file = fileName || store.filename;
            if (!file) {
                store.log('You must specify a valid file.', 'ERR');
                return false;
            }
            if (!key) return;

            var item = store.stringify(key) + ": " +
                store.stringify(value) + ",\n";



            var fd = fs.openSync(file, 'a', '0666');
            fs.writeSync(fd, item, null, 'utf8');
            fs.closeSync(fd);
            return true;
        }
function (fileName, key, value) {
            var file = fileName || store.filename;
            if (!file) {
                store.log('You must specify a valid file.', 'ERR');
                return false;
            }
            if (!key) return;

            var item = store.stringify(key) + ": " +
                store.stringify(value) + ",\n";



            var fd = fs.openSync(file, 'a', '0666');
            fs.writeSync(fd, item, null, 'utf8');
            fs.closeSync(fd);
            return true;
        }
function ( fileName , key , value ) { var file = fileName || store . filename ; if ( ! file ) { store . log ( 'You must specify a valid file.' , 'ERR' ) ; return false ; } if ( ! key ) return ; var item = store . stringify ( key ) + ": " + store . stringify ( value ) + ",\n" ; var fd = fs . openSync ( file , 'a' , '0666' ) ; fs . writeSync ( fd , item , null , 'utf8' ) ; fs . closeSync ( fd ) ; return true ; }
node < 0.8
node < 0 . 8