{"name":"hey-listen","version":"1.0.0","description":"Tiny versions of popular dev-ex functions like warning and invariant","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","watch":"tsc -w","prepublishOnly":"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","dependencies":{"@types/node":"^10.0.6","typescript":"^2.8.3"},"prettier":{"singleQuote":true},"gitHead":"6b8cdd66d667e27d5b233961ce64ffa0fb470a52","_id":"hey-listen@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"popmotion","email":"mattgperry@gmail.com"},"dist":{"integrity":"sha512-FwK1oVwa+WwU3Gn3iDtce5IehmD7tz4DY0BE2fKk/cWJQQNRkHr8aA4paBFy7zp4ItM/AH9+EO5SXEgBJotwMw==","shasum":"5c3f6f4bb6ab43d7ad4897d8446c6fde281de1a5","tarball":"http://registry-npm.ywwl.com/hey-listen/download/hey-listen-1.0.0.tgz","fileCount":9,"unpackedSize":5039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8tX4CRA9TVsSAnZWagAA0V4P/2KZpYzoFmFydEcgHvoT\nHuOz7liXRd0EH0ck0qZOP5tlO2XqUJdx8hy7iRqO45nqHVK5yry2rcD4uqJQ\nkSsbxr+RpOXrc7udiTQZArDpJotoQbdrTQfmu4fnug/3D2fVHWwNyzzS98jB\nkXaUdDZYxGc1USY4N62ZCewac76cFrnsUTx+wkaHAzbAxjItCwgL1P3u2oR8\n1pJKmG8pL5RlhnRXJSJp1Lv++6JfbWRF7K//4fqzPvQTtMlbQIkqHjDfAl+w\nkE8b2/qj8xLA8iS2qVh+epm/xG8HvDpTLlGZgOIHX3USoXL38GdDuZPQ476V\n7N2pO1SsqcciTTFke+Mt4HecloUbc2taw/kkCf/ypCHUk6DlpkTop41lMjjC\nHHVgQlnjWWE+I+6iT/Vu5XtXldu1yRga0nAB2piWIfyFaBTD2NpaRb8Dhtk3\nPoTNpAhYbkhgSl9HdaTqezEK4B/jSt4q2Y/qlhT/P+xUSnD4tQFzlSq15hxS\nuRZnK1AsIE4qf6WF5Q/YEXDSz1KY2imHl/65BbExRvLyq1jW6lUrREN50dR6\nkW88v5YeJCctcyF1ob5S/+yWps66M3cb8l0fiNOSC0mNj7JkAll/1Dj3s4jb\nFiVQJgCM4zW1qYKGCXgR9HSvN7Db0Tfr58Pi+1Vs8RD8JtOSkesyIxRQVsG5\nD17j\r\n=nQEK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID71XoKo+9CE1VBAaNrdBEzgFEsL1wD7xZrWVjuCZLQxAiBBQwV3e5ctbpdeUOW02IQNcsYUNqUcke20f0cBOcyetg=="}],"size":2559,"noattachment":false,"key":"/hey-listen/-/hey-listen-1.0.0.tgz"},"maintainers":[{"name":"popmotion","email":"mattgperry@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hey-listen_1.0.0_1525863928356_0.12626155946911166"},"_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":1525863928432,"_cnpm_publish_time":1525863928432,"dist-tags":{"latest":"1.0.8"}}