npm.io
1.1.1 • Published yesterday

bplist-universal

Licence
MIT
Version
1.1.1
Deps
1
Size
26 kB
Vulns
0
Weekly
0
Stars
1

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-universal

Quick Examples

import { parseBuffer } from "bplist-universal";
import fs from "fs";
const objFromBuffer = parseBuffer(fs.readFileSync("myPlist.bplist"));
console.log(JSON.stringify(obj));

Keywords