{"name":"babel-plugin-minify-type-constructors","version":"0.5.0-alpha.7b176463","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.7b176463"},"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\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.7b176463","dist":{"shasum":"2d56a678018535f6f0b9cdafe4f9f50758cd75c8","tarball":"http://registry-npm.ywwl.com/babel-plugin-minify-type-constructors/download/babel-plugin-minify-type-constructors-0.5.0-alpha.7b176463.tgz","fileCount":5,"unpackedSize":6820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6K39CRA9TVsSAnZWagAA7cEP/0BUjabChm/II2ar6pnk\nyZmXTc3lF1aoXu1d3kIRLglR7CUL4HIjIZuXA3CgD6Yr6DCVsgn5etCaRBz9\n2aHX9zJSNnoVuAt/TvkkP7LimErBMnLg11appfX6YU2ji/BgTtXoFmvmS3fw\nN+w4U8ozZVyEG23/kvCToAYEw5VdzJOVvv/x2WeSgXRpxR9/v7YXWyvHPqd6\nYYwanhvljqDzvG+Qg3yQb3YQdLZGZzGMiJE+kziNe/Gxw/7qJv7Mw/EsbvHb\nBLz+moLFqQZXhmPVKQ3S0B3p5q7jhIl0JRX6P8ZVyjDxZ6D5jaKUsGrvSVHx\nuUW1qtb+EPSpePuggWJbGRjy6nVs0Qhn80wJN0na0XRjQPwCODnvsuLt868g\nxbS1cQ14Fe3f9SUY21xO6PTkhS3S0zKZ6eLZ25lc2QvRnKGYvsuL4zBXMh/p\naTM8SEHkvQ+R7pYseWEiDHse9bMg6v5BcLZSqNyPoMoZ7T1on/Y2oSZpZ5rV\nomKy/XOzd2ianZtrASWcYFRNfJqodFB4iWxAhMpazMr2mVtk/t3tEKmubJw4\nGKo8Gxn6ECzm8ZRgqQzYZ+LaLpNcE2qncTCh3b/8MhmZW/J2XiszGIsN7OhH\nT5Y3vo/T4ZqPUPte6t6XbswDM1ag/FnCj1J21VIgj45M7YUMYGQIkPfOiAH5\nwWbw\r\n=fdgl\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-haECuqMw07K/Bv4Es8ZIFuDiYZ0DJu3rQbytQoks75Rkw2EsQ6fy+dEkm+ll+t4uXp2wxhYfK0fmkE6uW8HdIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFp5AqjcYwOZXGl5pBd4omqWz9fMRVSq9DhIE30tdCFZAiEAoSpm+2N3fNtDKGr3YeWnt7nfEjyGYdNwpfgTEbN+5zQ="}],"size":2198,"noattachment":false,"key":"/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.5.0-alpha.7b176463.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.7b176463_1525198332908_0.6596205806961424"},"_hasShrinkwrap":false,"publish_time":1525198332984,"_cnpm_publish_time":1525198332984,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}