{"name":"babel-plugin-minify-type-constructors","version":"0.5.0-alpha.55276695","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.55276695"},"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.55276695","dist":{"shasum":"528cf3106d2a404a4514136b0dc4f0702cdb008b","tarball":"http://registry-npm.ywwl.com/babel-plugin-minify-type-constructors/download/babel-plugin-minify-type-constructors-0.5.0-alpha.55276695.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\nwsFcBAEBCAAQBQJa6KgxCRA9TVsSAnZWagAAj18QAI/Iwlsd09J/k4Ta0aYC\ngj8WLBJvDdRwITnZZMorkbqeqSOdncn2064qis9cypXOSZr+fwKV7tzwdghW\nzsYvS8FX/4DUYF2KXYMl/WEt2e4QeOKVtvhOADB2NF3vIpQlSYSj4XOZBzzj\nklnubmDmC84N1RxrTEjK6c6xwdA1Vesi5R+k43J0nJsuoAEI0dh37oqnRrc9\nmojl4Z7jemYgWPI0ANEpqYErpcs2zSD1EeJMDu9vy7094dIArvpxaOHFPFUk\nr5UzYANTEQB55QZWsv6N2164LhTtWkbihgqqJEbPOp36EQ84nfEvXPE2z/Uf\n+/RORxMJIEbwsAA8V3dRVd3WNAnz5xMn+JyGYxs1LcKGxggtobDgznc6G0c3\nhmgxAoZQyZ2rnHBN1Yinrmsk1rhdz2dxO2bOvdgdZ03ZctcVvlR1V8AW71+y\ndFqb716qqCzdDpXehiKkywX4wSXzSy10NVPyjD/VPQC55kokuW9LJU/78mn+\nmCYTDiH1N99gU09ZpGuD52j3oLddRdEGwUYK2IS0GE3VpYIFuGRZtG3kpZwx\nzyhgOnYFJhevln5pzwZKEyEb8BTDjM65pTo7QNdKd9ZisGtKJeuv3IOvszMB\nl1ksbKAFyJvQFu71rz8+JTBK8Bm1HXCXSup2TOILYlJzA5Dr3e2fUmV6Ec9Y\nrMWV\r\n=lcWT\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-GvhdM4p0ihyiitYDj5wPtx8V8CQ72ybBEC5kcTwu8L9zD6roTG0GB2Pgw8ZAR2HhAU+6NBYkrjPJlNfwSVcpYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSr0SUDTrh8eALl1r4u23zDN29CwNlykLibd1lrz+5/AIhAMuOGN+P/wdVPNhgZzRrdS0g+3BDDbPa1wnNDponl8wA"}],"size":2202,"noattachment":false,"key":"/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.5.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-minify-type-constructors_0.5.0-alpha.55276695_1525196848922_0.8421216543288159"},"_hasShrinkwrap":false,"publish_time":1525196849066,"_cnpm_publish_time":1525196849066,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}