{"name":"babel-plugin-minify-type-constructors","version":"0.5.0-alpha.540d75e7","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.540d75e7"},"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.540d75e7","dist":{"shasum":"27124ccfa04d55527c576ef1c0e8f74065319020","tarball":"http://registry-npm.ywwl.com/babel-plugin-minify-type-constructors/download/babel-plugin-minify-type-constructors-0.5.0-alpha.540d75e7.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+ZNgCRA9TVsSAnZWagAAmroP/1NbVcv0nb09XWzDVV8j\nO4LzQgKA2JfqfwlMRuI9N1ly+hE3N3w78Risj+cjC+5DItBWf2gloAaTke51\n6eHvSZpYg6fpV8WpmnkjggDBf0B/USN5rvr6VFYZHg0pqDESAGlB7NsZgrUO\n0wbWwJuVrMIIv/5/FZrpfO7B6QmVrwe0JNkCzGEHMLQmWKdqAAtGaFeyfUOu\nEgoc46QnfOLAjGQ9l1LNeCZ9ub1Ej0xjTCzskZPqmiDGj5tEJVCgo2AcT3TC\nxXS/U2dtksV1UMk2KkQ0gK6rUKD+dE/REWojwh4xPrXgRDCoeeDbrlz07pqf\ni0r9GNJ2bykVrS2bJuKo0aIGIf7S0w/jMQ5ZgQhJnbObgoveh/QF0M978LTz\nr8LVkSi+74FbMG1Aqx9LRLy/4ggQ7n83oluhUAj0/ebcAkg8ba1aqSSQNp5J\nwKf/yHT+7PMgLqySzufK43ID7e1UBYuJV6JSYdcKIK+xbS7n0YqamExOO5aU\nJdcQfbqI3O/a3YE1a1vcYaWsNye4iYU7buv0ggDR527fpGvgTkoJbBDeFqPM\nSHyRWpkcG51ODgpQDaYlw0vl0sDv5UtI0kPt3HSs7qHt4HgZHGhbtjY+AlCB\nFuRLz6FbpEbWYQhFN9pabx5yQJgLGtUboBv7XknWAyYIR1CwyWZDC9Eru7UV\nEjwd\r\n=O+fG\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-de9QyioRyaWOA/VjGhstO46YlHhO+qNjsCYIo1O5kXmVbbc3i++pR9NGyiA/IrEd8++fU2oMf8ze8tjBcAOqNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUQyt5SGZ8g8cdIDS0nfYKq2YWYNiT6TwViScXqFc8KAIhALrnCq60ZiP747EzsQqMPSchkv+2enen/Mo0QxlwuVpy"}],"size":2108,"noattachment":false,"key":"/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.5.0-alpha.540d75e7.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.540d75e7_1526305631710_0.03465192116291971"},"_hasShrinkwrap":false,"publish_time":1526305632013,"_cnpm_publish_time":1526305632013,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}