{"name":"nanoassert","version":"1.1.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":"c2e2231aa88fb872f1fbd72fba50cadfe6b97431","_id":"nanoassert@1.1.0","_shasum":"4f3152e09540fde28c76f44b19bbcd1d5a42478d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"emilbayes","email":"github@tixz.dk"},"dist":{"shasum":"4f3152e09540fde28c76f44b19bbcd1d5a42478d","tarball":"http://registry-npm.ywwl.com/nanoassert/download/nanoassert-1.1.0.tgz","integrity":"sha512-C40jQ3NzfkP53NsO8kEOFd79p4b9kDXQMwgiY1z8ZwrDZgUyom0AHwGegF4Dm99L+YoYhuaB0ceerUcXmqr1rQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFNHBkMWEtTDZbDkYi7w4qNJ1r0WugnEksAwFYKhCgq4AiEAvDPYNc3oqxYxZUzbhm4nL68D+RfXjYeFUoJQbeaDVjM="}],"size":1800,"noattachment":false,"key":"/nanoassert/-/nanoassert-1.1.0.tgz"},"maintainers":[{"name":"emilbayes","email":"github@tixz.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanoassert-1.1.0.tgz_1500913693109_0.5007157232612371"},"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":1500913694381,"_cnpm_publish_time":1500913694381,"dist-tags":{"latest":"3.1.0"}}