{"dist":{"shasum":"184eef3a2b73cc82064bc2c2aca50b44ed15b991","tarball":"https://registry.npmjs.org/oneliner/-/oneliner-0.0.2.tgz","integrity":"sha512-/zQiazvkcETb7BhE9kR3JqdANv2p4AbLnRSasEJDNtHgUfsHlOedRBhGqSq1zy9w/f32T90LtBgVnzBrohcNqw==","signatures":[{"sig":"MEUCIQCsP0rmM0yMcEpziEttKJJUsf+LF28gfoVosok7SOzk0AIgA7XCSqUfUXs6Zlfkn7LF0i/WyVuXtfW7qXatElBfQ/0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"name":"oneliner","readme":"# Oneliner #\n\nConverts a string that contains line feed characters into one that doesn't.\n\n## Installation ##\n\n```bash\nnpm install oneliner\n```\n\n## Usage ##\n\n```javascript\nvar oneliner = require('oneliner');\n\nvar template = \"    <html>\\n\\n<head></head>\\n<body>...</body>\\n</html>\\n\\n     \";\n\noneliner(template);\n```\nThe output should be:\n\n```javascript\n\"<html><head></head><body>...</body></html>\"\n```\n\nTo skip the whitespace trimming you may pass 'true' as the optional second argument:\n\n```javascript\noneliner(template, true);\n```\n\nAnd the output should be:\n\n```javascript\n\"    <html><head></head><body>...</body></html>     \";\n```\n\n## Arguments ##\n\n1) The string to oneline.\n2) Optionally pass 'true' to skip the whitespace trimming on the beginning and ending of the string.\n","_npmUser":{"name":"johnpostlethwait","email":"john.postlethwait@gmail.com"},"keywords":["strip","text","trim",""],"licenses":[{"url":"http://opensource.org/licenses/mit-license.php","name":"MIT"}],"_npmVersion":"1.1.49","description":"Converts a string that contains line feed characters into one that doesn't.","maintainers":[{"name":"johnpostlethwait","email":"john.postlethwait@gmail.com"}],"repositories":[{"url":"git://github.com/JohnPostlethwait/oneliner.git","type":"git"}],"_id":"oneliner@0.0.2","version":"0.0.2"}