1.1.0 • Published 3 years ago
bplist-universal v1.1.0
bplist-universal
Binary Mac OS X Plist (property list) parser. This should work universally on all platforms, and cross browser. fs is imported within parseFile, so reading a buffer using parseBuffer should work in the browser.
Installation
$ npm install bplist-universalQuick Examples
import { parseBuffer } from "bplist-universal";
import fs from "fs";
const objFromBuffer = parseBuffer(fs.readFileSync("myPlist.bplist"));
console.log(JSON.stringify(obj));