{"_id":"strings","_rev":"88365","name":"strings","description":"Easily replace and transform :props in strings.","dist-tags":{"latest":"0.4.2"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:28:43.000Z","created":"2013-12-08T17:06:38.864Z","0.4.2":"2014-07-04T01:09:56.652Z","0.4.1":"2014-06-30T11:05:06.518Z","0.4.0":"2014-06-30T06:11:56.016Z","0.3.3":"2014-06-01T10:27:32.138Z","0.3.1":"2014-05-21T12:13:28.260Z","0.3.0":"2014-05-21T11:01:15.230Z","0.2.1":"2014-03-09T16:42:21.680Z","0.2.0":"2014-03-09T16:04:08.082Z","0.1.4":"2014-01-20T03:30:01.794Z","0.1.3":"2014-01-20T03:11:18.698Z","0.1.2":"2014-01-17T12:02:26.429Z","0.1.1":"2014-01-16T22:14:27.915Z","0.0.2":"2014-01-16T22:12:25.073Z","0.1.0":"2013-12-08T17:06:38.864Z"},"users":{"doowb":true,"karlbateman":true},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"repository":{"type":"git","url":"https://github.com/assemble/strings.git"},"versions":{"0.4.2":{"name":"strings","version":"0.4.2","description":"Easily replace and transform :props in strings.","homepage":"https://github.com/assemble/strings","repository":{"type":"git","url":"https://github.com/assemble/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"licenses":[{"type":"MIT","url":"https://github.com/assemble/strings/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/assemble/strings/issues"},"engines":{"node":">=0.10"},"main":"index.js","scripts":{"test":"mocha -R spec"},"keywords":["RegExp","date","expressions","find","modify","parse","re","regex","regular","replace","scrub","string","strings","token","tokenize","transform"],"dependencies":{"array-flatten":"0.0.2","array-union":"^0.1.0","clone":"^0.1.17","clone-shallow":"^0.1.1","frep":"^0.2.1","is-empty":"0.0.1","isobject":"^0.1.0","xtend":"^3.0.0"},"devDependencies":{"chai":"^1.9.1","mocha":"^1.19.0","verb":"^0.2.11","verb-tag-jscomments":"^0.1.4"},"_id":"strings@0.4.2","_shasum":"e70dd53a6fffdb4b40715586d814970c41bc615c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"e70dd53a6fffdb4b40715586d814970c41bc615c","size":12319,"noattachment":false,"key":"/strings/-/strings-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.4.2.tgz"},"directories":{},"publish_time":1404436196652,"_cnpm_publish_time":1404436196652,"_hasShrinkwrap":false},"0.4.1":{"name":"strings","version":"0.4.1","description":"Easily replace and transform :props in strings.","homepage":"https://github.com/assemble/strings","repository":{"type":"git","url":"https://github.com/assemble/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"licenses":[{"type":"MIT","url":"https://github.com/assemble/strings/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/assemble/strings/issues"},"engines":{"node":">=0.10"},"main":"index.js","scripts":{"test":"mocha -R spec"},"keywords":["RegExp","date","expressions","find","modify","parse","re","regex","regular","replace","scrub","string","strings","token","tokenize","transform"],"dependencies":{"array-flatten":"0.0.2","array-union":"^0.1.0","clone":"^0.1.17","clone-shallow":"^0.1.1","frep":"^0.2.1","is-empty":"0.0.1","isobject":"^0.1.0","xtend":"^3.0.0"},"devDependencies":{"chai":"^1.9.1","mocha":"^1.19.0","verb":"^0.2.11","verb-tag-jscomments":"^0.1.4"},"_id":"strings@0.4.1","_shasum":"bc24b8de5ac9e42c98a730221f519c019a127564","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"bc24b8de5ac9e42c98a730221f519c019a127564","size":12200,"noattachment":false,"key":"/strings/-/strings-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.4.1.tgz"},"directories":{},"publish_time":1404126306518,"_cnpm_publish_time":1404126306518,"_hasShrinkwrap":false},"0.4.0":{"name":"strings","version":"0.4.0","description":"Easily replace and transform :props in strings.","homepage":"https://github.com/doowb/strings","repository":{"type":"git","url":"https://github.com/assemble/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"contributors":[{"name":"Jon Schlinkert","url":"http://github.com/jonschlinkert"}],"licenses":[{"type":"MIT","url":"https://github.com/assemble/strings/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/assemble/strings/issues"},"engines":{"node":">=0.10"},"main":"index.js","scripts":{"test":"mocha -R spec"},"keywords":["RegExp","date","expressions","find","modify","parse","re","regex","regular","replace","scrub","string","strings","token","tokenize","transform"],"dependencies":{"frep":"^0.2.1","lodash":"^2.4.1"},"devDependencies":{"chai":"^1.9.1","fs-utils":"^0.4.3","js-comments":"^0.1.0","mocha":"^1.19.0","parse-filepath":"^0.3.0","relative":"^0.1.4","verb":"^0.2.11","verb-tag-jscomments":"^0.1.4","verbalize":"^0.1.2"},"_id":"strings@0.4.0","_shasum":"d8e5ab208cccbf306f1f6a81aaaf88bd5dc64d0f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d8e5ab208cccbf306f1f6a81aaaf88bd5dc64d0f","size":12130,"noattachment":false,"key":"/strings/-/strings-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.4.0.tgz"},"directories":{},"publish_time":1404108716016,"_cnpm_publish_time":1404108716016,"_hasShrinkwrap":false},"0.3.3":{"name":"strings","version":"0.3.3","description":"Easily replace and transform :props in strings.","homepage":"https://github.com/doowb/strings","repository":{"type":"git","url":"https://github.com/assemble/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"contributors":[{"name":"Jon Schlinkert","url":"http://github.com/jonschlinkert"}],"licenses":[{"type":"MIT","url":"https://github.com/assemble/strings/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/assemble/strings/issues"},"engines":{"node":">=0.10"},"main":"index.js","scripts":{"test":"mocha -R spec"},"keywords":["RegExp","date","expressions","find","modify","parse","re","regex","regular","replace","scrub","string","strings","token","tokenize","transform"],"dependencies":{"frep":"^0.2.1","lodash":"^2.4.1"},"devDependencies":{"chai":"^1.9.1","fs-utils":"^0.4.3","js-comments":"^0.1.0","mocha":"^1.19.0","relative":"^0.1.4","verb":"^0.2.11"},"_id":"strings@0.3.3","_shasum":"de6551a7273bb52618ba26bbef654b0662bdbf84","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"de6551a7273bb52618ba26bbef654b0662bdbf84","size":11162,"noattachment":false,"key":"/strings/-/strings-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.3.3.tgz"},"directories":{},"publish_time":1401618452138,"_cnpm_publish_time":1401618452138,"_hasShrinkwrap":false},"0.3.1":{"name":"strings","version":"0.3.1","description":"Easily replace and transform :props in strings.","homepage":"https://github.com/doowb/strings","repository":{"type":"git","url":"https://github.com/assemble/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"contributors":[{"name":"Jon Schlinkert","url":"http://github.com/jonschlinkert"}],"licenses":[{"type":"MIT","url":"https://github.com/assemble/strings/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/assemble/strings/issues"},"engines":{"node":">=0.10"},"main":"index.js","scripts":{"test":"mocha -R spec"},"keywords":["RegExp","date","expressions","find","modify","parse","re","regex","regular","replace","scrub","string","strings","token","tokenize","transform"],"dependencies":{"frep":"^0.2.1","lodash":"^2.4.1"},"devDependencies":{"chai":"^1.9.1","mocha":"^1.19.0","verb":"^0.2.7"},"_id":"strings@0.3.1","_shasum":"a48e3a86bebfd905f5b8ad6125abdd01810f67e5","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a48e3a86bebfd905f5b8ad6125abdd01810f67e5","size":16918,"noattachment":false,"key":"/strings/-/strings-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.3.1.tgz"},"directories":{},"publish_time":1400674408260,"_cnpm_publish_time":1400674408260,"_hasShrinkwrap":false},"0.3.0":{"name":"strings","version":"0.3.0","description":"Easily replace and transform :props in strings.","homepage":"https://github.com/doowb/strings","repository":{"type":"git","url":"https://github.com/assemble/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"contributors":[{"name":"Jon Schlinkert","url":"http://github.com/jonschlinkert"}],"licenses":[{"type":"MIT","url":"https://github.com/assemble/strings/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/assemble/strings/issues"},"engines":{"node":">=0.10"},"main":"index.js","scripts":{"test":"mocha -R spec"},"keywords":["RegExp","date","expressions","find","modify","parse","re","regex","regular","replace","scrub","string","strings","token","tokenize","transform"],"dependencies":{"frep":"^0.2.1","lodash":"^2.4.1"},"devDependencies":{"chai":"^1.9.1","mocha":"^1.19.0","verb":"^0.2.7"},"_id":"strings@0.3.0","_shasum":"175e872fd094bd5132d3b9fe3d2175f33e287018","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"175e872fd094bd5132d3b9fe3d2175f33e287018","size":16148,"noattachment":false,"key":"/strings/-/strings-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.3.0.tgz"},"directories":{},"publish_time":1400670075230,"_cnpm_publish_time":1400670075230,"_hasShrinkwrap":false},"0.2.1":{"name":"strings","version":"0.2.1","description":"String replacement and transformation library.","main":"index.js","scripts":{"test":"mocha && mocha -r blanket -R html-cov > test\\coverage\\coverage.html && mocha -r blanket -R json-cov > test\\coverage\\coverage.json && mocha -r blanket -R travis-cov"},"repository":{"type":"git","url":"https://github.com/sellside/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"licenses":[{"type":"MIT","url":"https://github.com/sellside/strings/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/sellside/strings/issues"},"dependencies":{"lodash":"~2.4.1","frep":"~0.1.2","underscore.string":"~2.3.3","moment":"~2.5.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.15.1","blanket":"~1.1.5","travis-cov":"~0.2.4","meld":"~1.3.0"},"keywords":["date","find","middleware","modify","regex","RegExp","regular expressions","replace","scrub","string","strings","transform"],"homepage":"https://github.com/sellside/strings","_id":"strings@0.2.1","dist":{"shasum":"7955b9292b325f5b3f34d916d17ef037b5415154","size":25813,"noattachment":false,"key":"/strings/-/strings-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.2.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1394383341680,"_cnpm_publish_time":1394383341680,"_hasShrinkwrap":false},"0.2.0":{"name":"strings","version":"0.2.0","description":"String replacement and transformation library.","main":"index.js","scripts":{"test":"mocha && mocha -r blanket -R html-cov > test\\coverage\\coverage.html && mocha -r blanket -R json-cov > test\\coverage\\coverage.json && mocha -r blanket -R travis-cov"},"repository":{"type":"git","url":"https://github.com/sellside/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"licenses":[{"type":"MIT","url":"https://github.com/sellside/strings/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/sellside/strings/issues"},"dependencies":{"lodash":"~2.4.1","frep":"~0.1.2","underscore.string":"~2.3.3","moment":"~2.5.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.15.1","blanket":"~1.1.5","travis-cov":"~0.2.4","meld":"~1.3.0"},"keywords":["date","find","middleware","modify","regex","RegExp","regular expressions","replace","scrub","string","strings","transform"],"homepage":"https://github.com/sellside/strings","_id":"strings@0.2.0","dist":{"shasum":"a9ee992f7ce82e4dfc9481e04e477d37e25a964e","size":25805,"noattachment":false,"key":"/strings/-/strings-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1394381048082,"_cnpm_publish_time":1394381048082,"_hasShrinkwrap":false},"0.1.4":{"name":"strings","version":"0.1.4","description":"Manipulate and rename strings using patterns, structures and presets.","main":"index.js","scripts":{"test":"mocha && mocha -r blanket -R html-cov > test\\coverage\\coverage.html && mocha -r blanket -R json-cov > test\\coverage\\coverage.json && mocha -r blanket -R travis-cov"},"repository":{"type":"git","url":"https://github.com/sellside/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"licenses":[{"type":"MIT","url":"https://github.com/assemble/example-pagination/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/sellside/strings/issues"},"dependencies":{"lodash":"~2.4.1","frep":"~0.1.2","underscore.string":"~2.3.3","moment":"~2.5.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.15.1","blanket":"~1.1.5","travis-cov":"~0.2.4","meld":"~1.3.0"},"keywords":["strings","string"],"readmeFilename":"README.md","_id":"strings@0.1.4","dist":{"shasum":"5884d06d1fc9362a5420d37713168fd1359d63a1","size":24305,"noattachment":false,"key":"/strings/-/strings-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.1.4.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1390188601794,"_cnpm_publish_time":1390188601794,"_hasShrinkwrap":false},"0.1.3":{"name":"strings","version":"0.1.3","description":"Manipulate and rename strings using patterns, structures and presets.","main":"index.js","scripts":{"test":"mocha && mocha -r blanket -R html-cov > test\\coverage\\coverage.html && mocha -r blanket -R json-cov > test\\coverage\\coverage.json && mocha -r blanket -R travis-cov"},"repository":{"type":"git","url":"https://github.com/sellside/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"licenses":[{"type":"MIT","url":"https://github.com/assemble/example-pagination/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/sellside/strings/issues"},"dependencies":{"lodash":"~2.4.1","frep":"~0.1.2","underscore.string":"~2.3.3","moment":"~2.5.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.15.1","blanket":"~1.1.5","travis-cov":"~0.2.4","meld":"~1.3.0"},"keywords":["strings","string"],"readmeFilename":"README.md","_id":"strings@0.1.3","dist":{"shasum":"ba7082e17579dd9ce142a0fa4566dd60ef02a2bb","size":24157,"noattachment":false,"key":"/strings/-/strings-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.1.3.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1390187478698,"_cnpm_publish_time":1390187478698,"_hasShrinkwrap":false},"0.1.2":{"name":"strings","version":"0.1.2","description":"Manipulate and rename strings using patterns, structures and presets.","main":"index.js","scripts":{"test":"mocha && mocha -r blanket -R html-cov > test\\coverage\\coverage.html && mocha -r blanket -R json-cov > test\\coverage\\coverage.json && mocha -r blanket -R travis-cov"},"repository":{"type":"git","url":"https://github.com/sellside/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"licenses":[{"type":"MIT","url":"https://github.com/assemble/example-pagination/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/sellside/strings/issues"},"dependencies":{"lodash":"~2.4.1","frep":"~0.1.2","underscore.string":"~2.3.3","moment":"~2.5.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.15.1","blanket":"~1.1.5","travis-cov":"~0.2.4","meld":"~1.3.0"},"keywords":["strings","string"],"readmeFilename":"README.md","_id":"strings@0.1.2","dist":{"shasum":"4c79ecc07f63adc496554ee2ca6aaaba5f6fe56d","size":23688,"noattachment":false,"key":"/strings/-/strings-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1389960146429,"_cnpm_publish_time":1389960146429,"_hasShrinkwrap":false},"0.1.1":{"name":"strings","version":"0.1.1","description":"Manipulate and rename strings using patterns, structures and presets.","main":"index.js","scripts":{"test":"mocha && mocha -r blanket -R html-cov > test\\coverage\\coverage.html && mocha -r blanket -R json-cov > test\\coverage\\coverage.json && mocha -r blanket -R travis-cov"},"repository":{"type":"git","url":"https://github.com/sellside/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"licenses":[{"type":"MIT","url":"https://github.com/assemble/example-pagination/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/sellside/strings/issues"},"dependencies":{"lodash":"~2.4.1","frep":"~0.1.2","underscore.string":"~2.3.3","moment":"~2.5.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.15.1","blanket":"~1.1.5","travis-cov":"~0.2.4","meld":"~1.3.0"},"keywords":["strings","string"],"readmeFilename":"README.md","_id":"strings@0.1.1","dist":{"shasum":"ea31115de2418cf60d6ff40115a8358f34fac37b","size":23643,"noattachment":false,"key":"/strings/-/strings-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1389910467915,"_cnpm_publish_time":1389910467915,"_hasShrinkwrap":false},"0.0.2":{"name":"strings","version":"0.0.2","description":"Manipulate and rename strings using patterns, structures and presets.","main":"index.js","scripts":{"test":"mocha && mocha -r blanket -R html-cov > test\\coverage\\coverage.html && mocha -r blanket -R json-cov > test\\coverage\\coverage.json && mocha -r blanket -R travis-cov"},"repository":{"type":"git","url":"https://github.com/sellside/strings.git"},"author":{"name":"Brian Woodward","url":"http://github.com/doowb"},"licenses":[{"type":"MIT","url":"https://github.com/assemble/example-pagination/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/sellside/strings/issues"},"dependencies":{"lodash":"~2.4.1","frep":"~0.1.2","underscore.string":"~2.3.3","moment":"~2.5.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.15.1","blanket":"~1.1.5","travis-cov":"~0.2.4","meld":"~1.3.0"},"keywords":["strings","string"],"readmeFilename":"README.md","_id":"strings@0.0.2","dist":{"shasum":"eceab8b8ecc3a28ca6752875bad56e6041289687","size":23644,"noattachment":false,"key":"/strings/-/strings-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1389910345073,"_cnpm_publish_time":1389910345073,"_hasShrinkwrap":false},"0.1.0":{"name":"strings","description":"Manipulate strings.","version":"0.1.0","homepage":"https://github.com/sellside/strings","author":{"name":"Sellside","url":"https://github.com/sellside"},"repository":{"type":"git","url":"https://github.com/sellside/strings.git"},"bugs":{"url":"https://github.com/sellside/strings/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sellside/strings/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"keywords":["strings","manipulate strings"],"_id":"strings@0.1.0","dist":{"shasum":"7ee5adf1067ad31379b738c460f9a2c1c232dcb8","size":371,"noattachment":false,"key":"/strings/-/strings-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strings/download/strings-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1386522398864,"_cnpm_publish_time":1386522398864,"_hasShrinkwrap":false}},"readme":"# strings [![NPM version](https://badge.fury.io/js/strings.png)](http://badge.fury.io/js/strings)\n\n> Easily replace and transform :props in strings.\n\nStrings is the result of many hours on [screenhero](http://screenhero.com/) and a truly collaborative effort between [Brian Woodward](https://github.com/doowb) and [Jon Schlinkert](https://github.com/jonschlinkert).\n\nPlease [report any bugs or feature requests](https://github.com/assemble/strings/issues/new), thanks!\n\n## Install\n\n### [npm](npmjs.org)\n\n```bash\nnpm install strings --save\n```\n\n### [bower](https://github.com/bower/bower)\n\n```bash\nbower install strings --save\n```\n\n## API\n### Strings\n\n> Strings constructor method\n\nCreate a new instance of `Strings`, optionally passing a default context to use.\n\n**Example**\n\n```js\nvar strings = new Strings({destbase: '_gh_pages/'});\n```\n \n* `return` {Object} Instance of a Strings object \n\n\n### .propstring\n\nSet or get a named propstring.\n\n```js\nstrings.propstring(name, propstring)\n```\n\n**Example**\n\n```js\nstrings.propstring('url', ':base/blog/posts/:basename:ext');\n```\n\n* `name` {String} \n* `propstring` {String}  \n* `return` {Strings} to allow chaining \n\n\n### .pattern\n\nSet or get a string or regex pattern to be used for matching.\n\n```js\nstrings.pattern(name, pattern, flags);\n```\n\n**Example**\n\n```js\nstrings.pattern('anyProp', ':([\\\\w]+)');\n```\n\n* `name` {String}: The name of the stored pattern. \n* `pattern` {String|RegExp|Function}: The pattern to use for matching. \n* `flags` {String}: Optionally pass RegExp flags to use.  \n* `return` {Strings} to allow chaining \n\n\n### .source\n\nReturn the RegExp source from a stored `pattern`.\n\n```js\nstrings.source(name);\n```\n\n**Example**\n\n```js\nstrings.pattern('foo', {re: /:([\\\\w]+)/gm});\nstrings.source('foo');\n//=> ':([\\\\w]+)'\n```\n\n* `name` {String}: The name of the stored pattern.   \n\n\n### .replacement\n\nSet or get a replacement pattern. Replacement patterns can be a\nregular expression, string or function.\n\n```js\nstrings.replacement(name, replacement)\n```\n\n**Example**\n\n```js\nstrings.replacement('prop', function(match) {\n  return match.toUpperCase();\n});\n```\n\n* `name` {String} \n* `replacement` {String|Function}: The replacement to use when patterns are matched.  \n* `return` {Strings} to allow chaining \n\n\n### .parser\n\nSet a parser that can later be used to parse any given string.\n\n```js\nstrings.parser (name, replacements)\n```\n\n**Example**\n\nPass an object:\n\n```js\nstrings.parser('prop', {\n  pattern: /:([\\\\w]+)/,\n  replacement: function(match) {\n    return match.toUpperCase();\n  }\n);\n```\nOr an array\n\n```js\nstrings.parser('prop', [\n  {\n    pattern: 'a',\n    replacement: 'b'\n  },\n  {\n    pattern: 'c',\n    replacement: 'd'\n  }\n]);\n```\n\n* `name` {String} \n* `arr` {Object|Array}: Object or array of replacement patterns to associate.  \n* `return` {Strings} to allow chaining \n\n\n### .parsers\n\nGet an array of stored parsers by passing a parser name or array of parser names.\n\n```js\nstrings.parsers(array)\n```\n\n**Example**\n\n```js\n// pass an array of parser names\nstrings.parsers(['a', 'b', 'c']);\n\n// or a string\nstrings.parsers('a');\n```\n\n\nUsing `parsers` like this:\n\n```js\nstrings.parsers([\n  'jumbotron',\n  'labels',\n  'progress',\n  'glyphicons',\n  'badges',\n  'alerts',\n  'newlines'\n]);\n```\nis just sugar for:\n\n```js\nvar parsers = [\n  strings.parser('jumbotron'),\n  strings.parser('labels'),\n  strings.parser('progress'),\n  strings.parser('glyphicons'),\n  strings.parser('badges'),\n  strings.parser('alerts'),\n  strings.parser('newlines'),\n];\n```\n\nFor an example, see [markdown-symbols](https://github.com/jonschlinkert/markdown-symbols), which uses this to store replacement patterns for custom markdown symbols.\n\n* `parsers` {String|Array}: string or array of parsers to get.  \n* `return` {Array} \n\n\n### .extendParser\n\nExtend a parser with additional replacement patterns. Useful if you're using\nan external module for replacement patterns and you need to extend it.\n\n```js\nstrings.extendParser(parser, replacements)\n```\n\n**Example**\n\n```js\nstrings.extendParser('prop', {\n  pattern: /:([\\\\w]+)/,\n  replacement: function(str) {\n    return str.toUpperCase();\n  }\n);\n```\n\n* `name` {String}: name of the parser to extend. \n* `arr` {Object|Array}: array of replacement patterns to store with the given name. \n* `pattern` {String|RegExp} \n* `replacement` {String|Function}  \n* `return` {Strings} to allow chaining \n\n\n### .template\n\nSet or get a reusable Strings template, consisting of a propstring\nand an array of parsers.\n\nTemplates are useful since they can be stored and then later used\nwith any context.\n\n```js\nstrings.template(name, propstring, parsers);\n```\n\n**Example**\n\n```js\nstrings.template('abc', ':a/:b/:c', ['a', 'b', 'c']);\n// or use a named propstring\nstrings.template('abc', 'foo', ['a', 'b', 'c']);\n                     here ^\n```\n\n* `name` {String} \n* `propstring` {String} \n* `parsers` {Array}: Names of the parsers to use with the template.  \n* `return` {Strings} to allow chaining \n\n\n### .replace\n\nReplace `:propstrings` with the real values.\n\n```js\nstrings.replace(str, context)\n```\n\n**Example**\n\n```js\nstrings.replace(':a/:b/:c', {\n  a: 'foo',\n  b: 'bar',\n  c: 'baz'\n});\n//=> foo/bar/baz\n```\n\n* `str` {String}: The string with `:propstrings` to replace. \n* `context` {String}: The object with replacement properties.  \n* `return` {Strings} to allow chaining \n\n\n### .process\n\nDirectly process the given prop-string, using a named replacement\npattern or array of named replacement patterns, with the given\ncontext.\n\n```js\nstrings.process(str, parsers, context)\n```\n\n**Examples:**\n\nPass a propstring and the parsers to use:\n\n```js\n// define some parsers to do simple key-value replacements\nstrings.parser('a', {'{foo}': 'AAA'});\nstrings.parser('b', {'{bar}': 'BBB'});\nstrings.parser('c', {'{baz}': 'CCC'});\nconsole.log(strings.process('{foo}/{bar}/{baz}', ['a', 'b', 'c']));\n// => 'AAA/BBB/CCC'\n```\n\n* `str` {String}: the string to process \n* `parsers` {String|Object|Array}: named parsers or parser objects to use when processing. \n* `context` {Object}: context to use. optional if a global context is passed.  \n* `return` {String} \n\n\n### .run\n\nProcess a template with the given context.\n\n```js\nstrings.run(template, context)\n```\n\n**Example**\n\n```js\nstrings.run('blogTemplate', {\n  dest: '_gh_pages',\n  basename: '2014-07-01-post',\n  ext: '.html'\n});\n```\n\n* `template` {String}: The template to process. \n* `context` {Object}: Optional context object, to bind to replacement function as `this`  \n* `return` {String}\n\n\n## Authors\n \n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n \n**Brian Woodward**\n \n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb) \n\n\n## License\nCopyright (c) 2014 Brian Woodward, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 03, 2014._","_attachments":{},"homepage":"https://github.com/assemble/strings","bugs":{"url":"https://github.com/assemble/strings/issues"}}