yaml-worker
v2.1.0
Published
JS-YAML and YAML-JS wrapper with Worker API
Downloads
2,326
Readme
YAML Worker
JS-YAML and YAML-JS wrapper with Worker API
Installation
Install using Bower or npm
npm install --save yaml-worker
bower install --save yaml-worker
Usage
Use YAMLWorker
:
var worker = new YAMLWorker('bower_components/yaml-worker/');
worker.load('yaml: true', function(error, result) {
console.log(result); // {"yaml": true}
});
Development
To run the test run
karma start --single-run=true
License
MIT