JSPM

@plist/binary.parse

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9992
  • Score
    100M100P100Q146804F
  • License BSD-3-Clause-Clear

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

Package Exports

  • @plist/binary.parse
  • @plist/binary.parse/lib/index.js

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/binary.parse) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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