Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@plist/binary.parse

mat-sz34.6kBSD-3-Clause-Clear1.0.0TypeScript support: included

TypeScript library for parsing binary Property Lists, in browser and node.js.

parse, parser, plist, propertylist, xml, typescript, browser, node, apple, macos, ios, openstep, binary

readme

@plist/binary.parse

TypeScript library for parsing binary Property Lists, in browser and node.js.

workflow npm npm NPM

About

This library adapts code, logic and test cases from node-bplist-parser.

Installation

@plist/binary.parse is available on npm, you can install it with either npm or yarn:

npm install @plist/binary.parse
# or:
yarn install @plist/binary.parse

Usage

import { parse } from '@plist/binary.parse';

const { buffer } = new Uint8Array(
  readFileSync(path.join(TEST_FILE_PATH, 'data_types', 'dict.plist'))
);
const dict = parse(buffer);
// => { hello: "world", whats: "up" }