{"_id":"nullthrows","_rev":"170658","name":"nullthrows","description":"flow typed nullthrows","dist-tags":{"latest":"1.1.1","next":"1.1.0"},"maintainers":[{"name":"yungsters","email":"yungsters@gmail.com"},{"name":"zertosh","email":""}],"time":{"modified":"2021-06-03T11:51:09.000Z","created":"2016-07-30T20:00:37.680Z","1.1.1":"2018-12-10T00:47:20.630Z","1.1.0":"2018-09-09T16:32:06.165Z","1.0.3":"2018-09-08T12:09:24.110Z","1.0.2":"2018-07-17T04:07:15.279Z","1.0.1":"2018-02-19T21:15:34.006Z","1.0.0":"2016-07-30T20:00:37.680Z"},"users":{},"author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/zertosh/nullthrows.git"},"versions":{"1.1.1":{"name":"nullthrows","version":"1.1.1","description":"flow typed nullthrows","keywords":["assert","flow","invariant","nullthrows"],"license":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"main":"nullthrows.js","types":"nullthrows.d.ts","repository":{"type":"git","url":"git+https://github.com/zertosh/nullthrows.git"},"scripts":{"test":"jest"},"dependencies":{},"devDependencies":{"@babel/runtime-corejs2":"^7.0.0","flow-bin":"0.87.0","jest":"^23.5.0","typescript":"3.0.3"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/__fixtures__/"],"watchman":false},"gitHead":"e29db13940186e116e5f917f490b746a0e8c1053","bugs":{"url":"https://github.com/zertosh/nullthrows/issues"},"homepage":"https://github.com/zertosh/nullthrows#readme","_id":"nullthrows@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"dist":{"shasum":"7818258843856ae971eae4208ad7d7eb19a431b1","size":1725,"noattachment":false,"key":"/nullthrows/-/nullthrows-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nullthrows/download/nullthrows-1.1.1.tgz"},"maintainers":[{"name":"yungsters","email":"yungsters@gmail.com"},{"name":"zertosh","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nullthrows_1.1.1_1544402840399_0.1425592853940858"},"_hasShrinkwrap":false,"publish_time":1544402840630,"_cnpm_publish_time":1544402840630},"1.1.0":{"name":"nullthrows","version":"1.1.0","description":"flow typed nullthrows","keywords":["assert","flow","invariant","nullthrows"],"license":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"main":"nullthrows.js","types":"nullthrows.d.ts","repository":{"type":"git","url":"git+https://github.com/zertosh/nullthrows.git"},"scripts":{"test":"jest"},"dependencies":{},"devDependencies":{"@babel/runtime-corejs2":"^7.0.0","flow-bin":"0.80.0","jest":"^23.5.0","typescript":"3.0.3"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/__fixtures__/"],"watchman":false},"readmeFilename":"README.md","gitHead":"b4e3aa8e2eb2b12f816f3c4f286b00a971b58492","bugs":{"url":"https://github.com/zertosh/nullthrows/issues"},"homepage":"https://github.com/zertosh/nullthrows#readme","_id":"nullthrows@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"dist":{"shasum":"832bb19ef7fedab989f81675c846e2858a3917a2","size":1725,"noattachment":false,"key":"/nullthrows/-/nullthrows-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nullthrows/download/nullthrows-1.1.0.tgz"},"maintainers":[{"name":"yungsters","email":"yungsters@gmail.com"},{"name":"zertosh","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nullthrows_1.1.0_1536510726018_0.6885586951498597"},"_hasShrinkwrap":false,"publish_time":1536510726165,"_cnpm_publish_time":1536510726165},"1.0.3":{"name":"nullthrows","version":"1.0.3","description":"flow typed nullthrows","keywords":["assert","flow","invariant","nullthrows"],"license":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"main":"nullthrows.js","types":"nullthrows.d.ts","repository":{"type":"git","url":"git+https://github.com/zertosh/nullthrows.git"},"scripts":{"test":"jest"},"dependencies":{},"devDependencies":{"flow-bin":"0.33.0","jest":"^21.0.0","typescript":"2.7.2"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/__fixtures__/"],"watchman":false},"gitHead":"b201f204fa84e19e8daecfc94f7aa32aa6cfef08","bugs":{"url":"https://github.com/zertosh/nullthrows/issues"},"homepage":"https://github.com/zertosh/nullthrows#readme","_id":"nullthrows@1.0.3","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"dist":{"shasum":"46bd64587db61049aca29bd89714803c31649a72","size":1671,"noattachment":false,"key":"/nullthrows/-/nullthrows-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/nullthrows/download/nullthrows-1.0.3.tgz"},"maintainers":[{"name":"yungsters","email":"yungsters@gmail.com"},{"name":"zertosh","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nullthrows_1.0.3_1536408563949_0.5787852387312653"},"_hasShrinkwrap":false,"publish_time":1536408564110,"_cnpm_publish_time":1536408564110},"1.0.2":{"name":"nullthrows","version":"1.0.2","description":"flow typed nullthrows","keywords":["assert","flow","invariant","nullthrows"],"license":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["nullthrows.d.ts","nullthrows.js","nullthrows.js.flow"],"main":"nullthrows.js","types":"nullthrows.d.ts","repository":{"type":"git","url":"git+https://github.com/zertosh/nullthrows.git"},"scripts":{"test":"jest"},"dependencies":{},"devDependencies":{"flow-bin":"0.33.0","jest":"^21.0.0","typescript":"2.7.2"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/__fixtures__/"],"watchman":false},"gitHead":"45307b6d80d4675036087ed2e40e68c6b3c11478","bugs":{"url":"https://github.com/zertosh/nullthrows/issues"},"homepage":"https://github.com/zertosh/nullthrows#readme","_id":"nullthrows@1.0.2","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"dist":{"shasum":"1252d901884ab2e909f0a2ca49facf0af60d6300","size":1630,"noattachment":false,"key":"/nullthrows/-/nullthrows-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nullthrows/download/nullthrows-1.0.2.tgz"},"maintainers":[{"name":"yungsters","email":"yungsters@gmail.com"},{"name":"zertosh","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nullthrows_1.0.2_1531800435190_0.502634936873378"},"_hasShrinkwrap":false,"publish_time":1531800435279,"_cnpm_publish_time":1531800435279},"1.0.1":{"name":"nullthrows","version":"1.0.1","description":"flow typed nullthrows","keywords":["assert","flow","invariant","nullthrows"],"license":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["nullthrows.d.ts","nullthrows.js","nullthrows.js.flow"],"main":"nullthrows.js","types":"nullthrows.d.ts","repository":{"type":"git","url":"git+https://github.com/zertosh/nullthrows.git"},"scripts":{"test":"jest"},"dependencies":{},"devDependencies":{"flow-bin":"0.33.0","jest":"^21.0.0","typescript":"2.7.2"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["/__fixtures__/"],"watchman":false},"gitHead":"7d67bcf1f2026b161b5464f023d7bd63c9625e6e","bugs":{"url":"https://github.com/zertosh/nullthrows/issues"},"homepage":"https://github.com/zertosh/nullthrows#readme","_id":"nullthrows@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"dist":{"shasum":"db2129889ca3188c323fb71b1be3f4a317e3f106","size":1625,"noattachment":false,"key":"/nullthrows/-/nullthrows-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nullthrows/download/nullthrows-1.0.1.tgz"},"maintainers":[{"name":"yungsters","email":"yungsters@gmail.com"},{"name":"zertosh","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nullthrows_1.0.1_1519074933964_0.7705514285970982"},"_hasShrinkwrap":false,"publish_time":1519074934006,"_cnpm_publish_time":1519074934006},"1.0.0":{"name":"nullthrows","version":"1.0.0","description":"flow typed nullthrows","keywords":["assert","flow","invariant","nullthrows"],"license":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["nullthrows.js","nullthrows.js.flow"],"main":"nullthrows.js","repository":{"type":"git","url":"git+https://github.com/zertosh/nullthrows.git"},"scripts":{"test":"tap test/*.js"},"dependencies":{},"devDependencies":{"flow-bin":"0.30.0","tap":"^6.2.0"},"gitHead":"6dd8a07cd99d28a627f70a9cc21d42e90badc86e","bugs":{"url":"https://github.com/zertosh/nullthrows/issues"},"homepage":"https://github.com/zertosh/nullthrows#readme","_id":"nullthrows@1.0.0","_shasum":"34715e53b9debe0750a77233fd494a5835a2d999","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"dist":{"shasum":"34715e53b9debe0750a77233fd494a5835a2d999","size":1490,"noattachment":false,"key":"/nullthrows/-/nullthrows-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nullthrows/download/nullthrows-1.0.0.tgz"},"maintainers":[{"name":"yungsters","email":"yungsters@gmail.com"},{"name":"zertosh","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/nullthrows-1.0.0.tgz_1469908837461_0.4349624249152839"},"directories":{},"publish_time":1469908837680,"_cnpm_publish_time":1469908837680,"_hasShrinkwrap":false}},"readme":"# nullthrows\n\n[![Build Status](https://travis-ci.org/zertosh/nullthrows.svg?branch=master)](https://travis-ci.org/zertosh/nullthrows)\n\nA [flow](https://flowtype.org) typed utility that accepts `value` (e.g. `nullthrows(value)`) and throws if `value` is `null` or `undefined`, otherwise it returns `value`.\n\nAlso see [`invariant`](https://github.com/zertosh/invariant).\n","_attachments":{},"homepage":"https://github.com/zertosh/nullthrows#readme","bugs":{"url":"https://github.com/zertosh/nullthrows/issues"},"license":"MIT"}