{"_id":"preserve","_rev":"10-9beba69a909ff4e0fb9a9b0b976430b2","name":"preserve","description":"Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"preserve","description":"Temporarily subsitute tokens in the given `string` with placeholders, then put them back after transforming the string.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/preserve","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/preserve.git"},"bugs":{"url":"https://github.com/jonschlinkert/preserve/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/preserve/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-beautify":"^1.5.4","mocha":"*","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"_id":"preserve@0.1.0","_shasum":"a6bed49859eeab4238d186ed410f4008f9606747","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a6bed49859eeab4238d186ed410f4008f9606747","tarball":"https://registry.npmjs.org/preserve/-/preserve-0.1.0.tgz"},"directories":{}},"0.1.1":{"name":"preserve","description":"Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/preserve","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/preserve.git"},"bugs":{"url":"https://github.com/jonschlinkert/preserve/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/preserve/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-beautify":"^1.5.4","mocha":"*","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"_id":"preserve@0.1.1","_shasum":"dea4d29644a0d9dceebbe0e93c3a763af49233f1","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"dea4d29644a0d9dceebbe0e93c3a763af49233f1","tarball":"https://registry.npmjs.org/preserve/-/preserve-0.1.1.tgz"},"directories":{}},"0.1.2":{"name":"preserve","description":"Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/preserve","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/preserve.git"},"bugs":{"url":"https://github.com/jonschlinkert/preserve/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/preserve/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-beautify":"^1.5.4","mocha":"*","verb":"^0.2.6","verb-tag-jscomments":"^0.2.0"},"keywords":["replace","placeholders","placeholder","token","tokens","regex","escape","template","format","prettify","markdown","templates","verb"],"_id":"preserve@0.1.2","_shasum":"792d62a5dc22a6fb374aeb1dc531f869d79587ed","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"792d62a5dc22a6fb374aeb1dc531f869d79587ed","tarball":"https://registry.npmjs.org/preserve/-/preserve-0.1.2.tgz"},"directories":{}},"0.1.3":{"name":"preserve","description":"Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/preserve","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/preserve.git"},"bugs":{"url":"https://github.com/jonschlinkert/preserve/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/preserve/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"js-beautify":"^1.5.4","mocha":"*","should":"^4.1.0","verb":"^0.2.6","verb-tag-jscomments":"^0.2.0"},"keywords":["escape","format","placeholder","placeholders","prettify","regex","replace","template","templates","token","tokens","verb"],"_id":"preserve@0.1.3","_shasum":"91fb3572a2df3ed45a93b8c986a0eab372b39723","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"91fb3572a2df3ed45a93b8c986a0eab372b39723","tarball":"https://registry.npmjs.org/preserve/-/preserve-0.1.3.tgz"},"directories":{}},"0.2.0":{"name":"preserve","description":"Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/preserve","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/preserve.git"},"bugs":{"url":"https://github.com/jonschlinkert/preserve/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/preserve/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"benchmarked":"^0.1.3","chalk":"^0.5.1","js-beautify":"^1.5.4","mocha":"*","should":"*"},"keywords":["escape","format","placeholder","placeholders","prettify","regex","replace","template","templates","token","tokens"],"gitHead":"1bf405d35e4aea06a2ee83db2d34dc54abc0a1f9","_id":"preserve@0.2.0","_shasum":"815ed1f6ebc65926f865b310c0713bcb3315ce4b","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"815ed1f6ebc65926f865b310c0713bcb3315ce4b","tarball":"https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz"},"directories":{}}},"readme":"# preserve [](http://badge.fury.io/js/preserve)\n\n> Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.\n\nUseful for protecting tokens, like templates in HTML, from being mutated when the string is transformed in some way, like from a formatter/beautifier.\n\n**Example without `preserve`**\n\nLet's say you want to use [js-beautify] on a string of html with Lo-Dash/Underscore templates, such as: `