{"name":"nanoassert","version":"1.0.0","description":"Nanoscale assertion module","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.6.3"},"scripts":{"test":"tape test"},"repository":{"type":"git","url":"git+https://github.com/emilbayes/nanoassert.git"},"keywords":["assert","unassert","power-assert","tiny","nano","pico"],"author":{"name":"Emil Bay","email":"github@tixz.dk"},"license":"ISC","bugs":{"url":"https://github.com/emilbayes/nanoassert/issues"},"homepage":"https://github.com/emilbayes/nanoassert#readme","gitHead":"abea954406974eafe73c553448b418d0c05e9bb5","_id":"nanoassert@1.0.0","_shasum":"555a1120bf265e1d33332ef7b5803710d5e20aff","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"emilbayes","email":"github@tixz.dk"},"dist":{"shasum":"555a1120bf265e1d33332ef7b5803710d5e20aff","tarball":"http://registry-npm.ywwl.com/nanoassert/download/nanoassert-1.0.0.tgz","integrity":"sha512-gNkL8hXBP0QYvOh8FNHL/WhHYMaRSjivjq3wGOnyIoq6JaCRtghFJT//nEW2Y1C86JcVzagmdQPKaJbe7quA9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbXxvyzvlIIQ0hJLIgIxk8q4hLKQDVKFIEgZsEyz0KaAiBh/GOD49WGY2q3Tb8jvLpTF+DvCrkCSBD6gW30BYFSsQ=="}],"size":1632,"noattachment":false,"key":"/nanoassert/-/nanoassert-1.0.0.tgz"},"maintainers":[{"name":"emilbayes","email":"github@tixz.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanoassert-1.0.0.tgz_1496944554480_0.8494925319682807"},"directories":{},"readme":"# `nanoassert`\n\n[![Build Status](https://travis-ci.org/emilbayes/nanoassert.svg?branch=master)](https://travis-ci.org/emilbayes/nanoassert)\n\n> Nanoscale assertion module\n\n## Usage\n\n```js\nvar assert = require('nanoassert')\n\nassert(a !== b, `${a} !== ${b}`)\n```\n\n## API\n\n### `assert(declaration, [message])`\n\nAssert that `declaration` is truthy otherwise throw `AssertionError` with\noptional `message`. In Javascript runtimes that use v8, you will get a nicer\nstack trace with this error.\nIf you want friendlier messages you can use template strings to show the\nassertion made like in the example above.\n\n## Why\n\nI like to write public facing code very defensively, but have reservations about\nthe size incurred by the `assert` module. I only use the top-level `assert`\nmethod anyway.\n\n## `nanoassert@^1.1.0`\n\nDocs for the previous version, which is used by many modules on npm, can be\n[found here](https://github.com/emilbayes/nanoassert/tree/v1.1.0)\n\n## Install\n\n```sh\nnpm install nanoassert\n```\n\n## License\n\n[ISC](LICENSE)\n","publish_time":1496944555470,"_cnpm_publish_time":1496944555470,"dist-tags":{"latest":"3.1.0"}}