{"_id":"deindent","_rev":"5-b47529396b570941dd4a0cacea7c84d2","name":"deindent","description":"ES6 template string helper for deindentation","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"deindent","version":"0.1.0","description":"ES6 template string helper for deindentation","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/deanlandolt/deindent.git"},"keywords":["es6","template","strings","indendation","dedent"],"author":{"name":"Dean Landolt","email":"dean@deanlandolt.com"},"license":"MIT","bugs":{"url":"https://github.com/deanlandolt/deindent/issues"},"homepage":"https://github.com/deanlandolt/deindent","gitHead":"47d1f9b23647177e58468d3fc9d5fa5f3e6a4c4f","_id":"deindent@0.1.0","_shasum":"62e1dcdd1d849709e5c7403c890e47e3cebe399d","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.35","_npmUser":{"name":"deanlandolt","email":"dean@deanlandolt.com"},"maintainers":[{"name":"deanlandolt","email":"dean@deanlandolt.com"}],"dist":{"shasum":"62e1dcdd1d849709e5c7403c890e47e3cebe399d","tarball":"https://registry.npmjs.org/deindent/-/deindent-0.1.0.tgz","integrity":"sha512-3SOF3+jbGRpDrvZaojZJ5bfg6ubAfxmXcukRkX1Fd/pD2zK4J8uvADMAwnP0/4pwwwjHHRwsRYW5EkR/d6YAlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDiVEZ9rUYi7viZvVYDgcqcpjQ1itlNuPwaKk1zZYEVfAiEA+QqmhaPmtvDjISYDawBCToRKry4NQXBpuvCKm/IquhY="}]}}},"readme":"# deindent\n\nES6 template string helper for deindentation (adapted from https://gist.github.com/zenparsing/5dffde82d9acef19e43c).\n\n```js\nvar deindent = require('deindent')\n\n// as a string function\ndeindent(`\n    this\n    is\n  the ${ \"end\" }\n      my only\n      friend\n    the end\n`);\n\n// as a template tag\ndeindent`\n    this\n    is\n  the ${ \"end\" }\n      my only\n      friend\n    the end\n`;\n\n\n// as a higher-order template tag\ndeindent(String.raw)`\n    this\n    is\n  the ${ \"end\" }\n      my only\n      friend\n    the end\n`;\n\n// all three should output the same deindented string\n'\\nthis\\nis\\nthe end\\n  my only\\n  friend\\nthe end\\n'\n```\n","maintainers":[{"name":"deanlandolt","email":"dean@deanlandolt.com"}],"time":{"modified":"2022-06-14T23:36:37.672Z","created":"2015-03-21T02:36:48.794Z","0.1.0":"2015-03-21T02:36:48.794Z"},"homepage":"https://github.com/deanlandolt/deindent","keywords":["es6","template","strings","indendation","dedent"],"repository":{"type":"git","url":"https://github.com/deanlandolt/deindent.git"},"author":{"name":"Dean Landolt","email":"dean@deanlandolt.com"},"bugs":{"url":"https://github.com/deanlandolt/deindent/issues"},"license":"MIT","readmeFilename":"README.md","users":{"adius":true}}