{"name":"meant","version":"1.0.1","description":"Like the `Did you mean?` in git for npm","main":"index.js","devDependencies":{"standard":"^8.0.0","standard-version":"^2.4.0","tap":"^7.1.1"},"scripts":{"test":"standard && tap test.js","release":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/watilde/meant.git"},"keywords":["meant"],"author":{"name":"Daijiro Wachi"},"license":"MIT","bugs":{"url":"https://github.com/watilde/meant/issues"},"homepage":"https://github.com/watilde/meant#readme","gitHead":"21ea1124db9abb4ab2020cd83d8bdc82db59a232","_id":"meant@1.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"watilde","email":"daijiro.wachi@gmail.com"},"maintainers":[{"name":"watilde","email":"daijiro.wachi@gmail.com"}],"dist":{"integrity":"sha512-UakVLFjKkbbUwNWJ2frVLnnAtbb7D7DsloxRd3s/gDpI8rdv8W5Hp3NaDb+POBI1fQdeussER6NB8vpcRURvlg==","shasum":"66044fea2f23230ec806fb515efea29c44d2115d","tarball":"http://registry-npm.ywwl.com/meant/download/meant-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsZvlQqRHuIC/UMV+DJjWzRqV6X/WHbhVXjuVjgNdGHwIhAO+bCaezaIvmDt9YnThuCpo7Sv0SX9grJ7V86hcYNdyH"}],"size":3157,"noattachment":false,"key":"/meant/-/meant-1.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/meant-1.0.1.tgz_1503498384376_0.28884566901251674"},"directories":{},"readme":"# meant ![Build status](https://github.com/watilde/meant/workflows/Node.js%20CI/badge.svg)\n\nLike the `Did you mean?` in git for npm\n\n## API\n### meant(item, list)\n+ item {String} A key for finding an approximate value\n+ list {Array} A list for comparing with the item\n\n```js\nconst meant = require('meant')\nconst result = meant('foa', ['foo', 'bar', 'baz'])\n// => [ 'foo' ]\n```\n\n## Installation\n\nDownload node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.\n\n```sh\nnpm install meant --save\n```\n\n\n## Tests\n\n```sh\nnpm install\nnpm test\n```\n```\n\n> meant@1.0.0 test /Users/watilde/Development/meant\n> standard && tap test.js\nTAP version 13\n# Subtest: test.js\n    # Subtest: test vs ['tast', 'tbst', 'tcst', 'foo']\n        ok 1 - list has tast\n        ok 2 - list has tbst\n        ok 3 - list has tcst\n        ok 4 - list doesn't have foo\n        1..4\n    ok 1 - test vs ['tast', 'tbst', 'tcst', 'foo'] # time=11.816ms\n    1..1\n    # time=44.006ms\nok 1 - test.js # time=249.154ms\n1..1\n# time=267.371ms\n\n```\n\n## Dependencies\n\nNone\n\n## Dev Dependencies\n\n- [standard](https://github.com/feross/standard): JavaScript Standard Style\n- [standard-version](https://github.com/conventional-changelog/standard-version): replacement for `npm version` with automatic CHANGELOG generation\n- [tap](https://github.com/tapjs/node-tap): A Test-Anything-Protocol library\n\n\n## License\n\nMIT\n\n_Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_\n","publish_time":1503498385415,"_cnpm_publish_time":1503498385415,"dist-tags":{"latest":"2.0.1"}}