Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/*
*
* Copyright (C) 2011, The Locker Project
* All rights reserved.
*
* Please see the LICENSE file for more information.
*
*/
var plist = require("plist");
plist.parseFile("History.plist", function(err, obj) {
if (err) {
throw err;
}
console.log(JSON.stringify(obj));
});
function(callback){
plist.parseFile(path, function(err, obj) {
if (err) { callback(err); }
callback(null, obj);
});
},
],