@plist/binary.parse
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@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" }

Package Sidebar

Install

npm i @plist/binary.parse

Weekly Downloads

1,106

Version

1.1.0

License

BSD-3-Clause-Clear

Unpacked Size

40.2 kB

Total Files

10

Last publish

Collaborators

  • mat-sz