readplist

1.0.1 • Public • Published

readplist

Tiny Node.js module to read any plist file.

Travis js-standard-style

Uses plutil which is only available on OS X.

Install

npm install readplist

Usage

var readplist = require('readplist');
var PATH = '/Applications/AppStore.app/Contents/Info.plist';
 
readplist(PATH, function(err, plist) {
  if (err) return console.error(err);
  console.log(plist.MDItemKeywords)
});

Comparaison

module ops/sec XML JSON binary platform
readplist 80 darwin, node
plist.js 887 any, node/browser

node benchmark.js

Test

npm install -g standard
npm test

/readplist/

    Package Sidebar

    Install

    npm i readplist

    Weekly Downloads

    4

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • sonny