1.0.1 • Published 10 years ago
readplist v1.0.1
readplist
Tiny Node.js module to read any plist file.
Uses plutil which is only available on OS X.
Install
npm install readplist
Usage
var readplist = require('readplist');
var PATH = '/Applications/App\ Store.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