{"name":"es6-template-regex","description":"Regular expression for matching es6 template delimiters in a string.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/es6-template-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/es6-template-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/es6-template-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"mocha":"*"},"keywords":["delimiter","es","expression","regex","regexp","regular"],"gitHead":"a75075e106dfa0fc457d314bcb203fe2f9e3383f","_id":"es6-template-regex@0.1.1","_shasum":"e517b9e0f742beeb8d3040834544fda0e4651467","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"e517b9e0f742beeb8d3040834544fda0e4651467","tarball":"http://registry-npm.ywwl.com/es6-template-regex/download/es6-template-regex-0.1.1.tgz","integrity":"sha512-sCeu9DOYhaSlKG7ry2y384bwxxaxPPdqWS0Jj45lv1MeQSpRK7mYlLO0jZdqwDLHViDWMsMikOkSIXuXpf4DiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICg2v+tRIUfjd1WDU/kofTkl77WIf3Eu5Ww8gg5y55AxAiEAjiVHP/++gq2mEHa55FA0ZQS+Fvbu1/LBqOGbyjtpzDU="}],"size":1900,"noattachment":false,"key":"/es6-template-regex/-/es6-template-regex-0.1.1.tgz"},"directories":{},"readme":"# es6-template-regex [![NPM version](https://img.shields.io/npm/v/es6-template-regex.svg?style=flat)](https://www.npmjs.com/package/es6-template-regex) [![NPM monthly downloads](https://img.shields.io/npm/dm/es6-template-regex.svg?style=flat)](https://npmjs.org/package/es6-template-regex) [![NPM total downloads](https://img.shields.io/npm/dt/es6-template-regex.svg?style=flat)](https://npmjs.org/package/es6-template-regex) [![Linux Build Status](https://img.shields.io/travis/regexhq/es6-template-regex.svg?style=flat&label=Travis)](https://travis-ci.org/regexhq/es6-template-regex)\n\n> Regular expression for matching es6 template delimiters in a string.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save es6-template-regex\n```\n\n## Usage\n\nThe main export of this module is a function that must be called:\n\n```js\nvar regex = require('es6-template-regex');\nconsole.log(regex());\n```\n\n## Example\n\n```js\nfunction interpolate(str, data) {\n  return str.replace(re(), function(m, prop) {\n    return data[prop] || prop;\n  });\n}\n\nvar str = 'foo ${bar} baz ${quux}';\nvar data = {bar: 'AAA', quux: 'BBB'};\ninterpolate(str, data);\n//=> 'foo AAA baz BBB'\n```\n\n## About\n\n### Related projects\n\n* [to-regex-range](https://www.npmjs.com/package/to-regex-range): Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than… [more](https://github.com/micromatch/to-regex-range) | [homepage](https://github.com/micromatch/to-regex-range \"Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.\")\n* [unc-path-regex](https://www.npmjs.com/package/unc-path-regex): Regular expression for testing if a file path is a windows UNC file path. Can… [more](https://github.com/regexhq/unc-path-regex) | [homepage](https://github.com/regexhq/unc-path-regex \"Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.\")\n* [whitespace-regex](https://www.npmjs.com/package/whitespace-regex): Regular expression for matching the whitespace in a string. | [homepage](https://github.com/regexps/whitespace-regex \"Regular expression for matching the whitespace in a string.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 7 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [adjohnson916](https://github.com/adjohnson916) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 07, 2017._","publish_time":1439259897250,"_cnpm_publish_time":1439259897250,"dist-tags":{"latest":"1.0.0"}}