@balena/apple-plist
v0.0.3
Published
Apple Property List (plist) parsing & serializing of XML / Binary / JSON formats
Downloads
17,261
Readme
Apple Property List (plist)
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
- .parse( value:
Instance Properties:
- .data ->
Object
- .data ->
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
- .parse( value: