How to use the plist.parseFile function in plist

To help you get started, we’ve selected a few plist examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LockerProject / Locker / Connectors / WorkInProgress / SafariHistory / extract.js View on Github external
/*
*
* 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));
});
github catesandrew / recipe-parser / utils.js View on Github external
function(callback){
        plist.parseFile(path, function(err, obj) {
          if (err) { callback(err); }
          callback(null, obj);
        });
      },
    ],

plist

Apple's property list parser/builder for Node.js and browsers

MIT
Latest version published 1 year ago

Package Health Score

74 / 100
Full package analysis