Skip to content

Commit

Permalink
Merge pull request #15 from brettz9/promises
Browse files Browse the repository at this point in the history
Promises
  • Loading branch information
joeferner authored May 20, 2019
2 parents 53fbede + cf68c1d commit c859835
Show file tree
Hide file tree
Showing 5 changed files with 1,198 additions and 266 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
bplist-parser
=============
# bplist-parser

Binary Mac OS X Plist (property list) parser.

Expand All @@ -12,13 +11,15 @@ $ npm install bplist-parser
## Quick Examples

```javascript
var bplist = require('bplist-parser');
const bplist = require('bplist-parser');

bplist.parseFile('myPlist.bplist', function(err, obj) {
if (err) throw err;
(async () => {

const obj = await bplist.parseFile('myPlist.bplist');

console.log(JSON.stringify(obj));
});

})();
```

## License
Expand Down
Loading

0 comments on commit c859835

Please sign in to comment.