{"name":"babel-plugin-transform-property-literals","version":"6.10.0-alpha.55276695","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\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.55276695","dist":{"shasum":"3534d4de9c6104c89c38f0a5c04bc2bfb0bca258","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-property-literals/download/babel-plugin-transform-property-literals-6.10.0-alpha.55276695.tgz","fileCount":7,"unpackedSize":5203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6KgaCRA9TVsSAnZWagAAHvAP/jloR9WtlYBMNIEswTUV\n2842StiaX8Xu+9EYXeZa+9GND+UEWfVOw7pl2LlBfsq8YIQZBiBhaUMGW686\nT6c98oC1KUN0JpVOBYbdUd7F9UsPK6WxttbNsdOtfzJJ/haFHW2WOvxFDRg3\nrEVs78GLhf17g125GBUgHepm2WrNxAgxpk2m0oP9HsAkC/5fLx9M4BtovJQV\n5w+1/lPGL1hwIgqY9lBtyShB+3GGGvsnyEpc8MfyQoGhYwy427cNh4LJLXDR\npYygIgQyOgMwYPg4ZTEBaDoDdTD4zQaHn/e2DrkjHV4y1oG4od7TuYroBLul\nUE0m6h+GfDRjL2VUxBvzoGODSGALMKVDcWlFkSZcMbvB1EVd/9qCct9y6nsz\nqqHltAREutAEd9n8MVTWN9TUP1+I1Pc3kriNp1L3wycde3QJNf5gSymAPS2U\n8IqsbW8xwC6rURExhVn+RiBFG5DtfDh6F0vkm0PBIuf1xZCRdN6kkSMZ1TVU\nGM97q/WAoMS2W92T61MJ0qljKZICfE2QPerqACBKpYEZb/O3UJCfZmGL17pT\nCbZ1rVG94AvTu76jw+8mMCKg3T2rqNjAXP4kDEuJeJmkp/DN7E97D6vIOu3C\nXY5DwcfaT1To++ybsC85QZddKYv+8ouHqR3PCHUPU9SSc70g6CYEtBnZAH1e\nZDVe\r\n=mQTS\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-RaOuQFCKP46k8qXSb/A2TNAWM/n8DVGYqF3AlixcQ8oylHUhIuvQ9k3umZQVwMZETkGERvvy/nUrthZVlBDaFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1myFzZE1lav2rj1SjwXdyMKSYv+06tDvsjbw7vDuedwIgNhxn1NxS0L5ZvTvV6SFGEt8VY8YnRp5OjORVcjFp0M4="}],"size":2119,"noattachment":false,"key":"/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.10.0-alpha.55276695.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.55276695_1525196826441_0.1331818229876356"},"_hasShrinkwrap":false,"publish_time":1525196826492,"_cnpm_publish_time":1525196826492,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","prerelease":"0.0.3"}}