{"name":"babel-plugin-minify-type-constructors","version":"0.5.0-alpha.e86a44f1","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.e86a44f1"},"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.e86a44f1","dist":{"shasum":"f837405916d33d99c9f4a9e629a97674cb32d9b8","tarball":"http://registry-npm.ywwl.com/babel-plugin-minify-type-constructors/download/babel-plugin-minify-type-constructors-0.5.0-alpha.e86a44f1.tgz","fileCount":5,"unpackedSize":6371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6t64CRA9TVsSAnZWagAAnq0P/i8JvmrnNzVy9DEzX809\nLYIdMfXSzE9U6cCejb96BoZluLRDNJ1/lhbm/YwK0VHF3J/kPy0g1cwBvx/B\nbUmW5CUf+GoC6QIkS7c7MEjqZkjp5evvi7wS1pF14yH/JCLyFVQkBlLqIo2+\ngODB8PbSnMZbbO3qj1XM8936wx8FxTb0vUQ7xnT1ciOGp6SKs3W3W3R9JJyk\nXsmhQsIe6cHqT9UK7lwY45QSbfpcSa2c0llIGcbvpxOBpM/BNDVw3L6O8/8X\njxu7AWg4sOweHILJuOpEqlsGoCAkAGL75kqvfk07x/Pk+ajvFrP/taoGOVbP\nXioqZMfFu3wSfYzkkgLSBY6x4kO7SA4SOQUYRvDQZbcB0UyMmjnUkO0Zmx4A\ni2ru2Ditsv1rG9HlDDy+AusniV3gunwR9Z0zSjR0LC1yHsf0xWAUB+5XN5Dd\nvJIPwqcz0loQnlCer/u814AS2wrDDI1GuLQninXHPOuLB6Ppn6lRv4X/UTF8\n/IH8dLNotzgbSkXRNyMJI9986TB3ItlEiAMB+tG3rx6jKGCbcaJW48LjZo48\neQlnXYs87aecPFJTn2yZVkT7ubPjzDLJKwpkRcRWkdrGJck52RykZdDHYM6b\nuluyMvaW4vAIWeu/is/Ynm6ANFj5+AZT8A+XaimfG3wWngSIZO6AIgbOoyFJ\nu3Mf\r\n=/hpc\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-etGW2UC5erFWpFnOp2XhKXwfLIYGMXGYMNsMxRWBpeZ+9PwhbPq8zZBswGWYuLiWIOBfyU6WHlzjxQ3vz4H5RA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsAGd7YDK1HuWE8H4vtEEhlZ9K9HbW7Fc8usMzoZyEZAIhAPsQr+6VLZT10Gvn2b3EeZWbf/zxxvEh6F/AVRQ7nYK7"}],"size":2102,"noattachment":false,"key":"/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.5.0-alpha.e86a44f1.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.e86a44f1_1525341879730_0.2536633675254296"},"_hasShrinkwrap":false,"publish_time":1525341879825,"_cnpm_publish_time":1525341879825,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}