apple-plist

0.5.0 • Public • Published

Apple Property List (plist)

npm npm license npm downloads build status

Apple Property List (plist) parsing & serializing of XML / Binary / JSON formats

Install via npm

$ npm install --save apple-plist

Usage

var Plist = require( 'apple-plist' )
var plist = Plist.parse( value )

API

class Plist

  • Static Methods:

    • .parse( value: String | Buffer, offset: Number = 0 ) -> Plist
    • .fromJSON( value: String | Buffer | Object ) -> Plist
  • Instance Properties:

    • .data -> Object
  • Instance Methods:

    • .parse( value: String | Buffer, offset: Number = 0 ) -> Plist
    • .parseXML( value: String | Buffer, offset: Number = 0 ) -> Plist
    • .parseBinary( value: Buffer, offset: Number = 0 ) -> Plist
    • .fromJSON( value: String | Buffer | Object ) -> Plist
    • .write( buffer: Buffer = null, offset: Number = 0, encoding: String( 'binary' | 'xml' | 'json' ) ) -> Buffer
    • .toString() -> String

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.01latest

Version History

VersionDownloads (Last 7 Days)Published
0.5.01
0.3.0178
0.2.10
0.2.00
0.1.00

Package Sidebar

Install

npm i apple-plist

Weekly Downloads

153

Version

0.5.0

License

MIT

Unpacked Size

44.8 kB

Total Files

10

Last publish

Collaborators

  • jhermsmeier