{"name":"babel-plugin-minify-type-constructors","version":"0.5.0-alpha.7195fa98","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.7195fa98"},"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.7195fa98","dist":{"shasum":"9934ad455a556b61fee8e29c934428859dbdb9b8","tarball":"http://registry-npm.ywwl.com/babel-plugin-minify-type-constructors/download/babel-plugin-minify-type-constructors-0.5.0-alpha.7195fa98.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/HvJCRA9TVsSAnZWagAAhcgP/ihlrZzf3jkk3TOenjQc\ntIiOwcW5cN4YpEP3MTTaPghhYCzEsPcj4Of06uGaF4RV314Vm2GuakBTMfn6\nIYCCaE1vF9PS8+qtq3/V4VKQhvZVdgAXyI6l2XEj9IwKNZAlCMkEv3Obekf6\nO9vyc5zVfTPKPEljxg9//7sRhUZvByMqt58WT1BhRhwgUhEJdOiVs1Y6DGH3\nd/3njhqZd6Dz/INXmUF7GhJ0x8sTo39e64D+Z7qcYSZPfdUdlPrcboBB5+w+\nKrcgO3gP/a7vDpQC/5p+9iWnsN8u9Zwr1CpJcBZLsXVFcPK2W2ocv8OxfRAV\nu6He4kcxTrFIhVYJTSv67okGUtaIZ6LVHy3OP9AqCc0joUMjo0BN62gKjFg2\n69S2GPlKO35e9/m/6GeZtT0TW2OgMAxjcojZvHkPPj0GWSEiyRUY8aa8DgAK\njBlF0cd10Gbi8dwAULTFeO5Ax9CD8asqJomAdBDy+XwfkQgh5QnkEXw2HMUc\newT9YpNCmBubGko4LMn5pKk/o9gcF6OAHLfvVG7y3ftEz9+Wrlpbv3bHkOLu\nqelPIbidQq9FBC1h5is8cQJTtARa3ZELASNF3KdL5ETzEQNWBpCARwX5Mz7Q\nWsADZB2p17RMAEjRtGCVbPQL5yVobbTeVVYwJnQOyymmbBdI23x4WHit6tRE\nT2PW\r\n=Be3g\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-4pOhxJmC/00JjAQfZ6JnG5OvOrZH1K1i9wzrfT6YwG9BDrLKbkQa68eTp2Y/TJXsX6t4TE/px2S3oby5oeYgBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH266+9aR1yWcjDxgM2omq7gSCD2sXVNJhalBRkThyi6AiAxMYTNDrFY1u4AE/AeN9OhYurAipN1pQnBT6svJvhvpA=="}],"size":2108,"noattachment":false,"key":"/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.5.0-alpha.7195fa98.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.7195fa98_1526496200534_0.48835333469802933"},"_hasShrinkwrap":false,"publish_time":1526496200707,"_cnpm_publish_time":1526496200707,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}