{"name":"babel-plugin-minify-type-constructors","version":"0.5.0-alpha.89fc69da","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.89fc69da"},"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.89fc69da","dist":{"shasum":"102daf2ef65a0b38ecda591ae8daf58f3310481a","tarball":"http://registry-npm.ywwl.com/babel-plugin-minify-type-constructors/download/babel-plugin-minify-type-constructors-0.5.0-alpha.89fc69da.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\nwsFcBAEBCAAQBQJbEV0hCRA9TVsSAnZWagAAruYP/iG0YRL/bUsnd152Vw09\n79C5vhED7ioTvZjP+Q4YoK9fSoO3IMT1/LVSdrCmGg+7OjPzQQ0FyuOtpMph\nSR43+7mbwukokgQzUrZtdvJv+GLI+TmkAMX0PfTfi+V159Z5hcQ5VWkmN1qo\nIeQ8idtDgTZ+pT+uY1Y7EP8Eys2z17Lu25CG1bjoysg+RaaCgnlYwqyPc5lp\nPTpo/Ekvz+rvmXd5mN7T1hd1/h12HZULdVsK+8IgVM/XzOC0XaGsRydXAgjB\nbRYn7kxdDwq5DItqdqyZsbO+1ZmmBS0KdmyGJcfbh4zxvwSxNL3kEcTKIZF6\n1yf26jyYgKrDJ9x/8kxs/O7E8opQ4RT3zV9OBQnVjLbp1CZmtHbbNJcbI8vb\nkRDxY2cCETqUMwdDeF5kZ/9yOROFds1wT+p+vDi/8SdYOr/pvpEoyXRCb2xv\n0YgwRGeC9e03he99QFVItWD/jZWAcBfsC9hHUAOHQb0qcyr3Q6KgyS6QUlqB\nNcL7L+9B/aKVjctzzV5TBaiC6Lm8+f7LOl/1zHR2B6aGpH26LCT193SjIs7x\n+UNSY1CKcbptYOZo329CLPGskmxBRCW4FIGxwg2WE/8+TO5wo8pPJztgKfny\n9ZYrfdFmsKw3cq7BUBIRg2ZoKXUqolBCvc+9k/Bc5TPfjlRm/kiyhw9LlWFa\nAG+p\r\n=6hBc\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-OC5GqNYREGtci9Tql2HZx087Wo0ADs6NZF4JZkBG00ugSWZuuoVa6csAqc7udVnrGNkgFJE9DqXxfttkGJ0PCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWssD3QRrE3EuaoMTVsxyha9Xz18HEyNKGMvDYGEUC7wIhAIuIauyVRndMkTZn558Cvq8ZMuGO8AngbNoi6+FLB2Bz"}],"size":2108,"noattachment":false,"key":"/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.5.0-alpha.89fc69da.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.89fc69da_1527864608573_0.9559740828791918"},"_hasShrinkwrap":false,"publish_time":1527864608942,"_cnpm_publish_time":1527864608942,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}