Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including readplist with all npm packages installed. Try it out:

var readplist = require("readplist")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

readplist v1.0.1

Read any plist file.

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/App\ Store.app/Contents/Info.plist';

readplist(PATH, function(err, plist) {
  if (err) return console.error(err);
  console.log(plist.MDItemKeywords)
});

Comparaison

moduleops/secXMLJSONbinaryplatform
readplist80darwin, node
plist.js887any, node/browser

node benchmark.js

Test

npm install -g standard
npm test
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free