A fast PLIST parser
npm install fast-plist``sh`
npm install fast-plist
`javascript
var parse = require('fast-plist').parse;
console.log(
parse(
`
)
);
/* Output:
{
"name": "Brogrammer",
"settings": {
"background": "#1a1a1a",
"caret": "#ecf0f1",
"foreground": "#ecf0f1",
"invisibles": "#F3FFB51A",
"lineHighlight": "#2a2a2a"
}
}
*/
`javascript
parse(bad string);
/* Output:
Error: Near offset 1: expected < ~~~ad string~~~
*/
`
* npm run watchnpm run test`
*
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.