JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4323766
  • Score
    100M100P100Q199146F

Mac OS X Plist parser for NodeJS. Convert a Plist file or string into a native JS object

Package Exports

  • plist

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (plist) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-plist

This library contains a parser for Mac OS X Plist (property list) files. These are often used in programming OS X and iOS applications, as well as the iTunes configuration XML file.

Plist files represent stored programming "object"s. This makes them very similar in nature to a JSON file. A valid Plist file should be directly representable as a native JavaScript Object.

Usage

var plist = require("plist");

plist.parseFile("myPlist.plist", function(err, obj) {
  if (err) {
    throw err;
  }

  console.log(JSON.stringify(obj));
});