{"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}],"dist-tags":{"latest":"0.2.3"},"author":{"name":"Square, Inc."},"description":"ES6 template strings compiled to ES5.","readme":"# es6-templates\n\nCompiles JavaScript written using template strings to use ES5-compatible\nsyntax. For example, this:\n\n```js\nvar name = \"Nicholas\",\n    msg = `Hello, ${name}!`;\n\nconsole.log(msg);    // \"Hello, Nicholas!\"\n```\n\ncompiles to this:\n\n```js\nvar name = \"Nicholas\",\n    msg = \"Hello, \" + name + \"!\";\n\nconsole.log(msg);    // \"Hello, Nicholas!\"\n```\n\nFor more information about the proposed syntax, see the [TC39 wiki page on\ntemplate strings](http://tc39wiki.calculist.org/es6/template-strings/).\n\n## Install\n\n```\n$ npm install es6-templates\n```\n\n## Usage\n\n```js\n$ node\n> var compile = require('es6-templates').compile;\n> compile('`Hey, ${name}!`')\n{ 'code': ..., 'map': ... }\n```\n\nWithout interpolation:\n\n```js\n`Hey!`\n// becomes\n'\"Hey!\"'\n```\n\nWith interpolation:\n\n```js\n`Hey, ${name}!`\n// becomes\n\"Hey, \" + name + \"!\"\n```\n\nWith a tag expression:\n\n```js\nescape `<a href=\"${href}\">${text}</a>`\n// becomes\nescape(function() {\n  var strings = [\"\\u003Ca href=\\\"\", \"\\\"\\u003E\", \"\\u003C/a\\u003E\"];\n  strings.raw = [\"\\u003Ca href=\\\"\", \"\\\"\\u003E\", \"\\u003C/a\\u003E\"];\n  return strings;\n}(), href, text);\n```\n\nOr work directly with the AST:\n\n```js\n$ node\n> var transform = require('es6-templates').transform;\n> transform(inputAST)\n```\n\nTransforming ASTs is best done using [recast][recast] to preserve formatting\nwhere possible and for generating source maps.\n\n## Browserify\n\nBrowserify support is built in.\n\n```\n$ npm install es6-templates  # install local dependency\n$ browserify -t es6-templates $file\n```\n\n## Contributing\n\n[![Build Status](https://travis-ci.org/esnext/es6-templates.svg?branch=master)](https://travis-ci.org/esnext/es6-templates)\n\n### Setup\n\nFirst, install the development dependencies:\n\n```\n$ npm install\n```\n\nThen, try running the tests:\n\n```\n$ npm test\n```\n\n### Pull Requests\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nAny contributors to the master es6-templates repository must sign the\n[Individual Contributor License Agreement (CLA)][cla].  It's a short form that\ncovers our bases and makes sure you're eligible to contribute.\n\n[cla]: https://spreadsheets.google.com/spreadsheet/viewform?formkey=dDViT2xzUHAwRkI3X3k5Z0lQM091OGc6MQ&ndplr=1\n\nWhen you have a change you'd like to see in the master repository, [send a pull\nrequest](https://github.com/esnext/es6-templates/pulls). Before we merge\nyour request, we'll make sure you're in the list of people who have signed a\nCLA.\n\n[recast]: https://github.com/benjamn/recast\n","repository":{"type":"git","url":"git+ssh://git@github.com/esnext/es6-templates.git"},"users":{"jacopkane":true,"leiming":true},"bugs":{"url":"https://github.com/esnext/es6-templates/issues"},"license":"Apache 2","versions":{"0.0.1":{"name":"es6-templates","version":"0.0.1","description":"ES6 template strings compiled to ES5.","main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git@github.com:square/es6-templates.git"},"dependencies":{"esprima":"git://github.com/ariya/esprima.git#harmony","recast":"~0.5.12","through":"~2.3.4","ast-types":"git://github.com/eventualbuddha/ast-types.git#add-template-string-types"},"devDependencies":{"example-runner":"0.1.0"},"scripts":{"test":"node test/runner.js"},"author":{"name":"Square, Inc."},"license":"Apache 2","bugs":{"url":"https://github.com/square/es6-templates/issues"},"homepage":"https://github.com/square/es6-templates","_id":"es6-templates@0.0.1","dist":{"shasum":"50551cf400447ed22d911187819c200e18a08b69","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/es6-templates/-/es6-templates-0.0.1.tgz","integrity":"sha512-J25OpCEXYwjvIFCa2WHuYhBRIsctZc7mCTDDdw3F7JNCyjgE6C5Sf9sSOvxWDuaqpteKLHcEwQNZXdqnTJtnFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHcgu7erBdk8COIjqqQKcVYqCQZrrXcKM1vQOZxEWtIIAiBlF0yo+r5XyMJr9Ta372FfFBh0TDU5AjTxLKQzmgGzdA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"me@brian-donovan.com"},"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}]},"0.0.2":{"name":"es6-templates","version":"0.0.2","description":"ES6 template strings compiled to ES5.","main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git@github.com:square/es6-templates.git"},"dependencies":{"esprima":"git://github.com/ariya/esprima.git#harmony","recast":"~0.5.12","through":"~2.3.4","ast-types":"^0.3.23"},"devDependencies":{"example-runner":"0.1.0"},"scripts":{"test":"node test/runner.js"},"author":{"name":"Square, Inc."},"license":"Apache 2","bugs":{"url":"https://github.com/square/es6-templates/issues"},"homepage":"https://github.com/square/es6-templates","_id":"es6-templates@0.0.2","dist":{"shasum":"539fede5eb00358589bf6b8ce4906091db5586e1","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/es6-templates/-/es6-templates-0.0.2.tgz","integrity":"sha512-fAfGzUCfrRzT+ArUTWUE3BoxI6hJDeze1PcCsi95DSuK02yUBpp6tOA+Olwh04K0LSCczT/9QxKEvkYEw7rKCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEIc8XXWhKuNErDJ3fnIVgmVRddeGNp00bimAc//SesZAiEAnVEqG09uWcZD1J+DOO/8TCuuhJe3kcIVKtyRSa6nu5c="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"me@brian-donovan.com"},"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}]},"0.0.3":{"name":"es6-templates","version":"0.0.3","description":"ES6 template strings compiled to ES5.","main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git@github.com:square/es6-templates.git"},"dependencies":{"esprima":"git://github.com/ariya/esprima.git#harmony","recast":"~0.5.17","through":"~2.3.4","ast-types":"^0.3.27"},"devDependencies":{"example-runner":"0.1.0"},"scripts":{"test":"node test/runner.js"},"author":{"name":"Square, Inc."},"license":"Apache 2","bugs":{"url":"https://github.com/square/es6-templates/issues"},"homepage":"https://github.com/square/es6-templates","_id":"es6-templates@0.0.3","dist":{"shasum":"7ce0712ccb0e065c04bde165e5603a5846530f33","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/es6-templates/-/es6-templates-0.0.3.tgz","integrity":"sha512-0ZT8qHn5szKMqgXRaMDoZGODKqUibUfMSYigH9UIN6yQx4aYrdIAPCEO6H4aRwXRztsxfGFjVQHJXIPWPu43AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC69SYzhPJ+1p1bKZjxZ5pGsij/Rn1jA9mwz2ckz3668AiEAyp2plTjd+TFchMlW4IhOU/JfoIs4gRjK3xZ1y0rD4R8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"me@brian-donovan.com"},"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}]},"0.1.0":{"name":"es6-templates","version":"0.1.0","description":"ES6 template strings compiled to ES5.","main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git@github.com:square/es6-templates.git"},"dependencies":{"ast-types":"^0.4.9","esprima-fb":"^6001.1001.0-dev-harmony-fb","recast":"~0.7.0","through":"~2.3.4"},"devDependencies":{"example-runner":"0.1.0"},"scripts":{"test":"node test/runner.js"},"author":{"name":"Square, Inc."},"license":"Apache 2","gitHead":"64691c7d416a62f689365564d26ab14f42a5f160","bugs":{"url":"https://github.com/square/es6-templates/issues"},"homepage":"https://github.com/square/es6-templates","_id":"es6-templates@0.1.0","_shasum":"c1a3f4e20990db3b545b887cbdcea08eb639589b","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"anonymous","email":"me@brian-donovan.com"},"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}],"dist":{"shasum":"c1a3f4e20990db3b545b887cbdcea08eb639589b","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/es6-templates/-/es6-templates-0.1.0.tgz","integrity":"sha512-Ke1zUDKsnq1kPpGyvLaroK/fUPsxXIwnSxgV/QobOwW1xzrxFf/96uolk2dE4VhKDUeT3emZrtTp1kAG4NFN9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnjm+N1YdbESjnK+U4CJcvyV9dy4KAZWfDJ6jS+k9yZAiAV5X9n2Evoy0c3lf1iUH2nZ+zuFPC+a8Ckq98ct+5Ztw=="}]}},"0.2.0":{"name":"es6-templates","version":"0.2.0","description":"ES6 template strings compiled to ES5.","main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git@github.com:esnext/es6-templates.git"},"dependencies":{"recast":"~0.8.0","through":"~2.3.6"},"devDependencies":{"example-runner":"~0.2.0"},"scripts":{"test":"node test/runner.js"},"author":{"name":"Square, Inc."},"license":"Apache 2","gitHead":"547a021681eb690df4dcc077a3c80cc81b13054b","bugs":{"url":"https://github.com/esnext/es6-templates/issues"},"homepage":"https://github.com/esnext/es6-templates","_id":"es6-templates@0.2.0","_shasum":"ff9d5f0fdd8fbb1aca80df3a9fbb49d9601a6fd8","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"anonymous","email":"me@brian-donovan.com"},"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}],"dist":{"shasum":"ff9d5f0fdd8fbb1aca80df3a9fbb49d9601a6fd8","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/es6-templates/-/es6-templates-0.2.0.tgz","integrity":"sha512-xVKgCdBqbh7xW8TgWkZQIz8RuLElhFzUXwORUHmJ88usSu7mdk0XnYBTAZ+XpFuHXLcefOMDlmiErOKy1Ny4hQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6C7vRgmNP0dVD7eGmJQBF0qVh8WnzDNXLqWvNuqAs2wIgUDLdHgnRvBRrioYOQqpeFxR4C5wcmMgo0E72eKYEPpU="}]}},"0.2.1":{"name":"es6-templates","version":"0.2.1","description":"ES6 template strings compiled to ES5.","main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git@github.com:esnext/es6-templates.git"},"dependencies":{"recast":"~0.8.0","through":"~2.3.6"},"devDependencies":{"example-runner":"~0.2.0"},"scripts":{"test":"node test/runner.js"},"author":{"name":"Square, Inc."},"license":"Apache 2","gitHead":"2fa782ac20ad6e4c56529048607e109d83a9f3d4","bugs":{"url":"https://github.com/esnext/es6-templates/issues"},"homepage":"https://github.com/esnext/es6-templates","_id":"es6-templates@0.2.1","_shasum":"a8fefdf87d1f8b2a0a4383bfabce4056182d7a63","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.35","_npmUser":{"name":"anonymous","email":"me@brian-donovan.com"},"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}],"dist":{"shasum":"a8fefdf87d1f8b2a0a4383bfabce4056182d7a63","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/es6-templates/-/es6-templates-0.2.1.tgz","integrity":"sha512-bIhpvcYeO9epRWwCXg5ukmPDLyRUlcOnE4uLgWoU8vIETE5nyqIPpxB+EJAt/7dZWL59o1W5H+7HYWZFYqsvSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ1YaZ9j1pcG+c0Jxaemt133cmhabSpAwcHmslk54p0gIhAJ7xRNcq07bAbOqbZSEF0XiHlFV8+UhfJOk/6hB2lEpG"}]}},"0.2.2":{"name":"es6-templates","version":"0.2.2","description":"ES6 template strings compiled to ES5.","main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git@github.com:esnext/es6-templates.git"},"dependencies":{"recast":"~0.9.11","through":"~2.3.6"},"devDependencies":{"example-runner":"~0.2.0"},"scripts":{"test":"node test/runner.js"},"author":{"name":"Square, Inc."},"license":"Apache 2","gitHead":"1c2e1f7986a6569f5ac5814f19d3887dbd79fc55","bugs":{"url":"https://github.com/esnext/es6-templates/issues"},"homepage":"https://github.com/esnext/es6-templates","_id":"es6-templates@0.2.2","_shasum":"d13a02b052f74891b309a02043bc7b3d6a23f59f","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.35","_npmUser":{"name":"anonymous","email":"me@brian-donovan.com"},"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}],"dist":{"shasum":"d13a02b052f74891b309a02043bc7b3d6a23f59f","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/es6-templates/-/es6-templates-0.2.2.tgz","integrity":"sha512-uQBUJe6WiZIdVXlpbyj73H0g0rV91DeR+dUna/MPtj/rf81P9myeUEE/DsEZ+w3Gr+McTakP06bQ6BFH9r0Apw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCul2G1/newBLuiTGMGPfJknqxWtTC+Z11JD5BvAmQAfQIhAKJkBSzOeGN+zFvXiiIEExw4bHu7D1Jl63Mbdk6aihxY"}]}},"0.2.3":{"name":"es6-templates","version":"0.2.3","description":"ES6 template strings compiled to ES5.","main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git+ssh://git@github.com/esnext/es6-templates.git"},"dependencies":{"recast":"~0.11.12","through":"~2.3.6"},"devDependencies":{"example-runner":"~0.2.0"},"scripts":{"test":"node test/runner.js"},"author":{"name":"Square, Inc."},"license":"Apache 2","gitHead":"cd61e516c494f47a6a87380848497cc35822607a","bugs":{"url":"https://github.com/esnext/es6-templates/issues"},"homepage":"https://github.com/esnext/es6-templates#readme","_id":"es6-templates@0.2.3","_shasum":"5cb9ac9fb1ded6eb1239342b81d792bbb4078ee4","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"anonymous","email":"me@brian-donovan.com"},"dist":{"shasum":"5cb9ac9fb1ded6eb1239342b81d792bbb4078ee4","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/es6-templates/-/es6-templates-0.2.3.tgz","integrity":"sha512-sziUVwcvQ+lOsrTyUY0Q11ilAPj+dy7AQ1E1MgSaHTaaAFTffaa08QSlGNU61iyVaroyb6nYdBV6oD7nzn6i8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXCchFF+TPVf6w1sjWhuJxMfLucc+s2pp07N2P7djHxQIhAKb5Lc1F91zsLdZnLRZ/8xMudWaRxMhW20ys9WDbSzKd"}]},"maintainers":[{"name":"anonymous","email":"me@brian-donovan.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/es6-templates-0.2.3.tgz_1472832970878_0.854157050838694"}}},"name":"es6-templates","time":{"modified":"2022-06-17T17:07:13.510Z","created":"2014-04-15T15:14:23.525Z","0.0.1":"2014-04-15T15:14:23.525Z","0.0.2":"2014-04-15T16:16:02.010Z","0.0.3":"2014-05-02T22:27:57.719Z","0.1.0":"2014-09-23T21:39:05.903Z","0.2.0":"2014-10-27T22:48:33.223Z","0.2.1":"2014-12-31T17:41:57.286Z","0.2.2":"2014-12-31T19:35:14.296Z","0.2.3":"2016-09-02T16:16:14.707Z"},"readmeFilename":"README.md","homepage":"https://github.com/esnext/es6-templates#readme"}