{"name":"babel-plugin-minify-type-constructors","version":"0.5.0-alpha.6889f45d","description":"**Note:** Not recommended if full support for IE8 and lower is required. [Details](https://github.com/babel/minify/pull/45#discussion_r70181249)","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-minify-type-constructors"},"dependencies":{"babel-helper-is-void-0":"^0.5.0-alpha.6889f45d"},"readmeFilename":"README.md","readme":"# babel-plugin-minify-type-constructors\n\n**Note:** Not recommended if full support for IE8 and lower is required. [Details](https://github.com/babel/minify/pull/45#discussion_r70181249)\n\n## Example\n\n**In**\n\n```javascript\nBoolean(x);\nNumber(x);\nString(x);\nArray(3);\nArray(3,1);\nObject({foo: 'bar'});\n```\n\n**Out**\n\n```javascript\n!!x;\n+x;\nx + \"\";\n[,,,];\n[3, 1];\n{foo: 'bar'};\n```\n\n## Installation\n\n```sh\nnpm install babel-plugin-minify-type-constructors --save-dev\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"minify-type-constructors\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins minify-type-constructors script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"@babel/core\").transform(\"code\", {\n  plugins: [\"minify-type-constructors\"]\n});\n```\n\n## Options\n\n+ `array` - prevent plugin from minifying arrays\n+ `boolean` - prevent plugin from minifying booleans\n+ `number` — prevent plugin from minifying numbers\n+ `object` — prevent plugin from minifying objects\n+ `string` — prevent plugin from minifying strings\n","_id":"babel-plugin-minify-type-constructors@0.5.0-alpha.6889f45d","dist":{"shasum":"9a70c61013e5b7dfd4abd83a35db9494e82ba4c1","tarball":"http://registry-npm.ywwl.com/babel-plugin-minify-type-constructors/download/babel-plugin-minify-type-constructors-0.5.0-alpha.6889f45d.tgz","fileCount":5,"unpackedSize":6382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+gKGCRA9TVsSAnZWagAAlfsQAJIquPJPZCZpb0PEanlo\ngDL6iVFydHGvj0aduxNUEhs2YVUZ7ff1nkCMgqF95LNjJTzpp53CEyfPx7jw\nIzslkL0RP61LLny7DcOVP1XoBy+IN/KZljHE8/X7zzmeWEvY2Qx05OkssWuj\nz5h/3kEM82bsGN4UVNORrIe9if0/1PqhUy7U3q9ximn9jsWnwke7D5GG1wy7\n2/AcJgRn1sPM5yrXt53TToWib4V41zCl7+iz/tLNVmd+z4I4IKfC2ItfdYUp\nfvEitYZa58kBnCFhviyJNJZ9IOypj/4lwFgNirAx7zvhNw1Z1M/heGnvcNB9\nVJ5Kj6dEoDQAKUH/EsYezRCAZzBqYllbYzkM4Vw6zPuKLCMOnL+0R2VTg2oS\nsU61PG/H6QS/3NOneCHYdWwB8JBexALHysqNTOT1OLcesGpFJnE5J8owbZwy\nmdS3qWegmCBm10A2OnQQh8b0s8I+yL88dIxA0R9dkHRkikE/PycWHf05Tsd3\ncGEuaNpFeKAtU5vdFy8zm5pHZCB4Qo7WwhKznORBFSJtpNxQv/szMuLaaNPo\nOL9hL72XUtTAe2iiOyamvyYgmH1US39jTEjQ5ef7LPxyr357tPamhu4I8B9G\n4kVnTJTS8ZEjRTn/hIvKxd7r0VBhdseBxnNnkW09OfDt3kzQg7Rmq4yu4lMC\no4XW\r\n=TlNk\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-2U1Oo/q8hCO5FmmrQRzqmp3J0tUaW2M03diPt5IhFjfNTQmurB18JJ5PK5ZGZ8NsdKoVA4zWa3hfs7/+B/RY8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3pDkq27j+aWy6951j5MApPqrxKXSxuB9E8rW/HuW2RwIhAK6lwqyUqoILt9zroShnP4ChRUTeegYtYYo8V3eWB1MZ"}],"size":2107,"noattachment":false,"key":"/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.5.0-alpha.6889f45d.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-minify-type-constructors_0.5.0-alpha.6889f45d_1526334085747_0.5527503907984626"},"_hasShrinkwrap":false,"publish_time":1526334085884,"_cnpm_publish_time":1526334085884,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}