{"dist":{"shasum":"d43ef1569608deff2cda343dbe421e2af9fcc4fe","tarball":"https://registry.npmjs.org/to/-/to-0.2.0.tgz","integrity":"sha512-0b7n99fukV2xACeaPaEuEodJQpkArOCa1m91CJs7ke8itfOAqu0SW1EYLrBHWXQQjx5xB3BSxLuhdnKvjklcHQ==","signatures":[{"sig":"MEQCIGKDQosmAOy+BY4+1qlomUncFwXsCpBu91EAHldqaWK/AiAtPz8W2KLzWlOUQkjSwyv2RPDqDXHeMMvjWExydWgIaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","name":"to","author":{"name":"truepattern","email":"admin@truepattern.com"},"readme":"# to.js\ncollection of convertors.\nComes with command line options to use the convertors along with a library version that can be used within programs as well.\n\n# Solves\n  * handling different input/output formats: yaml,json,xml\n  * only input xml is handled (not output xml yet)\n\n## Installation\n    $ npm install -g to\n    $ npm install to\n\n## Usage\nWithin program\n```js\nvar to = require('to');\n\n# Load yaml\nvar yamldoc = to.format.yaml.load('config.yaml');\n\n# print doc in yaml \nvar doc = ...;\nconsole.log(to.format.yaml.stringify(doc));\n\n```\n\n * refer to examples directory for xml, json, yaml code\n\n\n## Todo\n * Input html (be forgiving with bad html)\n * Input markdown \n * Output xml\n * Output html\n * add unit tests\n * allow beautification params for all outputs \n\n","engines":{"node":">= 0.5.0"},"scripts":{"prepublish":"npm prune"},"homepage":"https://github.com/truepattern/to","keywords":["converter","convertor","json","xml","yaml"],"repository":{"url":"git://github.com/truepattern/to","type":"git"},"description":"to - convertors to popular formats","directories":{},"maintainers":[{"name":"truepattern","email":"admin@truepattern.com"}],"dependencies":{"yamljs":">= 0.1.2","commander":">= 1.0.4","htmlparser":">= 1.7.6","underscore":">= 1.4.0"},"devDependencies":{},"_id":"to@0.2.0","version":"0.2.0"}