{"name":"babel-plugin-transform-property-literals","version":"6.10.0-alpha.540d75e7","description":"Turn valid property key literals to plain identifiers","keywords":["babel-plugin"],"homepage":"https://github.com/babel/minify#readme","bugs":{"url":"https://github.com/babel/minify/issues"},"license":"MIT","author":{"name":"amasad"},"main":"lib/index.js","repository":{"type":"git","url":"https://github.com/babel/minify/tree/master/packages/babel-plugin-transform-property-literals"},"dependencies":{"esutils":"^2.0.2"},"readmeFilename":"README.md","readme":"# babel-plugin-transform-property-literals\n\nThis plugin allows Babel to transform valid identifier property key literals into identifiers.\n\n## Example\n\n**In**\n\n```javascript\nvar foo = {\n  // changed\n  \"bar\": function () {},\n  \"1\": function () {},\n\n  // not changed\n  \"default\": 1,\n  [a]: 2,\n  foo: 1\n};\n```\n\n**Out**\n\n```javascript\nvar foo = {\n  bar: function () {},\n  1: function () {},\n\n  \"default\": 1,\n  [a]: 2,\n  foo: 1\n};\n```\n\n## Installation\n\n```sh\nnpm install babel-plugin-transform-property-literals --save-dev\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-property-literals\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-property-literals script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"@babel/core\").transform(\"code\", {\n  plugins: [\"transform-property-literals\"]\n});\n```\n","_id":"babel-plugin-transform-property-literals@6.10.0-alpha.540d75e7","dist":{"shasum":"559f9c6ac8bb1ff69591de392ce88c98695c5850","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-property-literals/download/babel-plugin-transform-property-literals-6.10.0-alpha.540d75e7.tgz","fileCount":7,"unpackedSize":5209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+ZM5CRA9TVsSAnZWagAA52cP/j5btoRRX6jq/xEp6MrM\n8MLq6lBeooAsxp7bA6RDu7JvURqZ9IeUY4yOnLutwjJSIUK43izXyqVYjUQO\ns1q2iTmNN+xrfHSiKq2t4lChEvmaj+TMiso6PGberBo2HPkaN/+MMM+2V8/K\npWDgNjbTXVsUqInscboh35BMq/NVx/ABV3HNHIYNBeSBmLqZNR1PLSTnFkti\nLrPyCMTvwJcSomi44mM++EXpLPguXTCwBDTaUllZcIFGalPT7tioJ8FKPOzv\nGKdQ5q6l0TXDnGM4sIYb+McSGBhnFM4xDvr4df048a4aF3SLiQVWubE+I6mc\nIJncjfZ6yiOc+PX7V+to3C/gqFEauG42q/ouLp2XCdkar2IcY5jnYjenU3cI\n7Cd05pOZ2EpvfC5HcLKq93XdPlgWcndHMIrHOtH67XZ7iiyPJFI3CoUSEIac\nSUcQtlgeA0KrQQkcglIF6DWoiK08jS07yeL4uPhWob7IU/E/z2jpSWnhmwNA\nCzncg/9HECwwF7QxSB8qRho3n+nYw4ESfOoBOPdVBkUg3h/biJrjQZg/PDbH\nUiConMgaB4xrkvH+KhQ4iQ6KqdzQ5hEf2N3Fpooj8c611vQYHzz7y4lqKyA9\nhZxZUigZeNDqtyM0W3BaLlhOt75cM4ASpTeKF7PjRcRYjup300U/VfO7/tdq\nEwe0\r\n=sRie\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-CmjT3A4KS21VVg96jw9y1riQjl5l3K7eXr+HOlTYZtj1P17ZhXyzXAbnmCeHjoPxbPpeQMPraTevmIxUyJLAIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvbUhQeL/9oc0Advx1CfxMv2rUqfug6rYF/+b3XNOQNQIhAO/gpO2xrg1aLCxRZwaIMo9AvapFuHk+RJyEQiXnTBPQ"}],"size":2122,"noattachment":false,"key":"/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.10.0-alpha.540d75e7.tgz"},"maintainers":[{"email":"asciiguyfieri@gmail.com","name":"babeljs"},{"email":"me@boopathi.in","name":"boopathi"},{"email":"hi@henryzoo.com","name":"hzoo"},{"email":"loganfsmyth@gmail.com","name":"loganfsmyth"},{"email":"vignesh.shanmugam22@gmail.com","name":"vignesh.shanmugam"}],"_npmUser":{"name":"babeljs","email":"asciiguyfieri@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-property-literals_6.10.0-alpha.540d75e7_1526305593205_0.8992744703262401"},"_hasShrinkwrap":false,"publish_time":1526305593316,"_cnpm_publish_time":1526305593316,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","prerelease":"0.0.3"}}