{"dist":{"shasum":"4f9ccd840421bc6e029e690004f9e976639ebd56","tarball":"https://registry.npmjs.org/oneliner/-/oneliner-0.0.3.tgz","integrity":"sha512-ls2hsAuSsfPdqk0A7RGUslnHTpzd8Ev1xTwZngh/D+wb1X2cstVIZNRpFanHVoDsflbjL1PP7kN/MRtqex6yzQ==","signatures":[{"sig":"MEYCIQCT4PugUQZ9CmAjQiNV/4TvJqkclEdBZ4jg941zTEL1+gIhAIO7f1enU5FP7MCBc9EZZWIEIuKjJ2GLhci9ZgciEohZ","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://github.com/isaacs/npm/raw/master/LICENSE","type":"MIT +no-false-attribs"}],"repository":{"url":"https://github.com/JohnPostlethwait/oneliner","type":"git"},"_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"}],"_id":"oneliner@0.0.3","version":"0.0.3"}