Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shinnn/read-bplist

Parse a Binary macOS Plist (.bplist) file
https://github.com/shinnn/read-bplist

Last synced: 26 days ago
JSON representation

Parse a Binary macOS Plist (.bplist) file

Awesome Lists containing this project

README

        

# read-bplist

[![npm version](https://img.shields.io/npm/v/read-bplist.svg)](https://www.npmjs.com/package/read-bplist)
[![Build Status](https://travis-ci.com/shinnn/read-bplist.svg?branch=master)](https://travis-ci.com/shinnn/read-bplist)
[![codecov](https://codecov.io/gh/shinnn/read-bplist/branch/master/graph/badge.svg)](https://codecov.io/gh/shinnn/read-bplist)

A [Node.js](https://nodejs.org/) module to parse a Binary macOS Plist (.bplist) file

```javascript
import readBplist from 'read-bplist';

(async () => {
const data = await readBplist('path/to/your.bplist');
//=> {some: 'properties'}
})();
```

## Installation

[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/).

```
npm install read-bplist
```

## API

```javascript
import readBplist from 'read-bplist';
```

### readBplist(*path*)

*path*: `string | Buffer | Uint8Array | URL` (a file path) or `integer` (a file descriptor)
Return: `Promise`

## License

[ISC License](./LICENSE) © 2019 Watanabe Shinnosuke