{"name":"hey-listen","version":"1.0.2","description":"Tiny versions of popular dev-ex functions like warning and invariant","main":"lib/index.js","types":"./lib/index.d.ts","scripts":{"test":"jest","build":"tsc","watch":"tsc -w","prepublishOnly":"npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/Popmotion/hey-listen.git"},"keywords":["warning","invariant"],"author":{"name":"Matt Perry"},"license":"MIT","bugs":{"url":"https://github.com/Popmotion/hey-listen/issues"},"homepage":"https://github.com/Popmotion/hey-listen#readme","devDependencies":{"@types/jest":"^22.2.3","@types/node":"^10.0.6","jest":"^22.4.3","ts-jest":"^22.4.5","typescript":"^2.8.3"},"jest":{"moduleFileExtensions":["ts","js","json","node"],"transform":{"\\.(ts)$":"../node_modules/ts-jest/preprocessor.js"},"testRegex":"/_tests/.*\\.(ts|js)$","rootDir":"src"},"prettier":{"singleQuote":true},"gitHead":"31d80f9ed5ce4e8335812b51c65c954b7591bae0","_id":"hey-listen@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"popmotion","email":"mattgperry@gmail.com"},"dist":{"integrity":"sha512-x+x9CButVFWuKRpQYCo+i6054ad0vAm9NOB2w1Whqr7k7tctTU6yDQjWR5aI3bupEmY1a/oeU3xw02xYab+cLw==","shasum":"ffe0bf374200bde00ae7dcb626d17026070a5711","tarball":"http://registry-npm.ywwl.com/hey-listen/download/hey-listen-1.0.2.tgz","fileCount":10,"unpackedSize":6539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8uZcCRA9TVsSAnZWagAAqpwP/1ePzf2g0AHb0wPDugfA\nDyHmNrgmbfKjP3wib4aGJ7eoScyyllYVqxS2mgWJs/57wOVLBA9RCcMljxIa\n8hvGpFZC2cwHzA+TfrxBLeBM2kHKlv/jXmhZDaa3VecDNnvPxLszroVyTVAX\n08c/PESqzxoqRPIBQ0cBV4ONs+QqsSDbI6ve75HWBytc9QFnkfn7xjnsQVA7\n/Tv0iEBY1rFpR81mg6GMhBGMoZQbOVEMdRgdXB6cOrlDZLSgXPM+D0jzEeGb\nHx56U2YuKvnU3/COA6hWFW5V8PrZaxm9rbUlgzaVLQPfe1r/31Z1yR49dF1G\n9dObbrC3otwJ7LGLvhxEvH93xgIl+RKDuyC0CVqMBGXiPDLg62mQ5CbKwXKp\n/m5hidnQmimpjekgRs5X3xpokibhTHuy/7nxUHnDm3lEfiTqKn2mmIo7s+gR\nPRbSW57cQYkJBzInMc9qdj6prnzLVh0PqyDiST1V6vkmhg0OZs3i1ZLmaUsv\ngAdsc6Q8sxFVzQyb6Zi6upjLOS3K9+TgjPdAZx0u5QWGeQjkafrBDGKl+mm9\nFfdon8PmzJ14aLQQKp0v8D82lq44GmJEwJ+nfx5CatKSBrUEHKdKvRFDmBti\nT7++qYoO8/s2sL6lyFlweuhU8yHjCpqU1IwHi8HNuxhd4QCXVY5iqQBGeAhm\nv01w\r\n=wNwX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoZpTBjo4Gj9cCeiHY5uP2fCqwNDq7Q3bpxLBK+jTBxAIhAJuCK+w6KB2DVkHaNGxQkV8mkJDEa5Hpzq0+ccSzrZeM"}],"size":3170,"noattachment":false,"key":"/hey-listen/-/hey-listen-1.0.2.tgz"},"maintainers":[{"name":"popmotion","email":"mattgperry@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hey-listen_1.0.2_1525868123573_0.8406442328576276"},"_hasShrinkwrap":false,"readme":"# Hey, Listen!\n\n### Dev-ex warning functions with added childhood flashbacks\n\n[![npm version](https://img.shields.io/npm/v/hey-listen.svg?style=flat-square)](https://www.npmjs.com/package/hey-listen)\n[![npm downloads](https://img.shields.io/npm/dm/hey-listen.svg?style=flat-square)](https://www.npmjs.com/package/hey-listen)\n[![Twitter Follow](https://img.shields.io/twitter/follow/popmotionjs.svg?style=social&label=Follow)](http://twitter.com/popmotionjs)\n[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/popmotion)\n\nHey, Listen! provides simple versions of the popular `warning` and `invariant` dev-experience functions.\n\nThe library checks against `process.env.NODE_ENV` to minify away messages in production.\n\n## Install\n\n### npm\n\n```bash\nnpm install hey-listen\n```\n\n### Yarn\n\n```bash\nyarn add hey-listen\n```\n\n## Usage\n\n### `warning`\n\n```javascript\nimport { warning } from 'hey-listen';\n\nwarning(false, 'Warning message'); // console.warn \"Warning message\"\n```\n\n### `invariant`\n\n```javascript\nimport { invariant } from 'hey-listen';\n\ninvariant(false, 'Error message'); // throws \"Error message\"\n```\n","publish_time":1525868123667,"_cnpm_publish_time":1525868123667,"dist-tags":{"latest":"1.0.8"}}