{"name":"hey-listen","version":"1.0.5","description":"Popular dev-ex functions like warning and invariant, with added childhood flashbacks.","main":"lib/index.js","types":"./lib/index.d.ts","module":"dist/hey-listen.es.js","jsnext:main":"dist/hey-listen.es.js","scripts":{"test":"jest","build":"rollup -c","watch":"rollup -c -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","rollup-plugin-typescript2":"^0.14.0","rollup-plugin-uglify":"^3.0.0"},"jest":{"moduleFileExtensions":["ts","js","json","node"],"transform":{"\\.(ts)$":"../node_modules/ts-jest/preprocessor.js"},"testRegex":"/_tests/.*\\.(ts|js)$","rootDir":"src"},"prettier":{"singleQuote":true},"gitHead":"62bc28cdabbf8930466cbafa00d212b426a6cfba","_id":"hey-listen@1.0.5","_npmVersion":"5.6.0","_nodeVersion":"6.9.1","_npmUser":{"name":"popmotion","email":"mattgperry@gmail.com"},"dist":{"integrity":"sha512-O2iCNxBBGb4hOxL9tUdnoPwDYmZhQ29t5xKV74BVZNdvwCDXCpVYTJ4yoaibc1V0I8Yw3K3nwmvDpoyjnCqUaw==","shasum":"6d0a3a2f60177f65bc4404d571a00025bf5dc20e","tarball":"http://registry-npm.ywwl.com/hey-listen/download/hey-listen-1.0.5.tgz","fileCount":14,"unpackedSize":9666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/DAhCRA9TVsSAnZWagAAGpQP/2Rlez3oxcwB3KOgEtQo\nsnJdYYSnXTWYncDb2C+lxLPAp0aBX5y+szHzJ0SnN2zbljyqI53Z4sVavyQd\nJs68gi6sYdcaYAMI+YOrRpb9Tl+Iim9YtJ2AT/ebqBW9fq+ojVxV7oTj2hhE\nzZOuEKUH+MLkTyBRaBihYnXeptZZw8NyFnobO2FQjxaNgkFwa5L4MXPCfqr8\ntmmpD9qe8r4iRFVdlk1JubBZENMAFrE9zhoTzWa2fhOGoaSaJUb+qsL6Sbc7\na7/hqEqBtrkXduIt2ABFEabDXcwrsCRt3fo8Vr2eLPyZ8M0z+REm6NbsHM2f\nr+WkYBbuiFtEvNBNYU7vl6xswg7w0Mbl7mbTAXk8qsbF2MPlywjc7mVh9pEO\n7Gb1zbzMoB07Xm3u28SPBqqTZM1aUNx7N5kgUtHVklW6EqN8U0sx7JQ12jBz\n8S0ynajJ50Oub3LrBkC8MUvwgf6cZ5AsZumb1Bg5uDaA2IdaZL54uoPOW9bR\nRWPLYF75+vnASMRkdDgbZu27LllfQGcAbUTNZ6YehaJ3GZrpItflQ7wBCJ5G\n3FVeo6dTZA9zZ+l4z6Zds+UqOoHYUkCCc6L0aalH7r1AyUSLi+xGY8nz463U\nAY9rNagy9bhY0eYU9brTxr5VIaWTCIn5wHoGRWGsG3ce7DpS2lUza7H2r0sh\nsuR8\r\n=tOR0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA34qTSn/D52dgty/y7QC84ozuS71N2otuojjH3cX11cAiEA8vbF9lLoqGtVgrlVms+4CZ+X51ATL5t7TEf1sWR41Ec="}],"size":4025,"noattachment":false,"key":"/hey-listen/-/hey-listen-1.0.5.tgz"},"maintainers":[{"name":"popmotion","email":"mattgperry@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hey-listen_1.0.5_1526476833323_0.26898449149179404"},"_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":1526476833370,"_cnpm_publish_time":1526476833370,"dist-tags":{"latest":"1.0.8"}}