{ "_args": [ [ { "raw": "babel-plugin-transform-es2015-template-literals@^6.5.0", "scope": null, "escapedName": "babel-plugin-transform-es2015-template-literals", "name": "babel-plugin-transform-es2015-template-literals", "rawSpec": "^6.5.0", "spec": ">=6.5.0 <7.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-react-native" ] ], "_from": "babel-plugin-transform-es2015-template-literals@>=6.5.0 <7.0.0", "_id": "babel-plugin-transform-es2015-template-literals@6.22.0", "_inCache": true, "_location": "/babel-plugin-transform-es2015-template-literals", "_nodeVersion": "6.9.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/babel-plugin-transform-es2015-template-literals-6.22.0.tgz_1484872441432_0.952275461750105" }, "_npmUser": { "name": "hzoo", "email": "hi@henryzoo.com" }, "_npmVersion": "3.10.10", "_phantomChildren": {}, "_requested": { "raw": "babel-plugin-transform-es2015-template-literals@^6.5.0", "scope": null, "escapedName": "babel-plugin-transform-es2015-template-literals", "name": "babel-plugin-transform-es2015-template-literals", "rawSpec": "^6.5.0", "spec": ">=6.5.0 <7.0.0", "type": "range" }, "_requiredBy": [ "/babel-preset-fbjs", "/babel-preset-react-native" ], "_resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", "_shasum": "a84b3450f7e9f8f1f6839d6d687da84bb1236d8d", "_shrinkwrap": null, "_spec": "babel-plugin-transform-es2015-template-literals@^6.5.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-react-native", "dependencies": { "babel-runtime": "^6.22.0" }, "description": "Compile ES2015 template literals to ES5", "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" }, "directories": {}, "dist": { "shasum": "a84b3450f7e9f8f1f6839d6d687da84bb1236d8d", "tarball": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz" }, "keywords": [ "babel-plugin" ], "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "amasad", "email": "amjad.masad@gmail.com" }, { "name": "hzoo", "email": "hi@henryzoo.com" }, { "name": "jmm", "email": "npm-public@jessemccarthy.net" }, { "name": "loganfsmyth", "email": "loganfsmyth@gmail.com" }, { "name": "sebmck", "email": "sebmck@gmail.com" }, { "name": "thejameskyle", "email": "me@thejameskyle.com" } ], "name": "babel-plugin-transform-es2015-template-literals", "optionalDependencies": {}, "readme": "# babel-plugin-transform-es2015-template-literals\n\n> Compile ES2015 template literals to ES5\n\n## Example\n\n**In**\n\n```javascript\n`foo${bar}`;\n```\n\n**Out**\n\n```javascript\n\"foo\" + bar;\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-es2015-template-literals\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```js\n// without options\n{\n \"plugins\": [\"transform-es2015-template-literals\"]\n}\n\n// with options\n{\n \"plugins\": [\n [\"transform-es2015-template-literals\", {\n \"loose\": true,\n \"spec\": true\n }]\n ]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-es2015-template-literals script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"transform-es2015-template-literals\"]\n});\n```\n\n## Options\n\n### `loose`\nIn loose mode, tagged template literal objects aren't frozen.\n\n\n### `spec`\nThis option wraps all template literal expressions with `String`. See [babel/babel#1065](https://github.com/babel/babel/issues/1065) for more info.\n\n**In**\n\n```javascript\n`foo${bar}`;\n```\n\n**Out**\n\n```javascript\n\"foo\" + String(bar);\n```\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-template-literals" }, "scripts": {}, "version": "6.22.0" }