$ gnpm install meant
Like the Did you mean?
in git for npm
const meant = require('meant')
const result = meant('foa', ['foo', 'bar', 'baz'])
// => [ 'foo' ]
Download node at nodejs.org and install it, if you haven't already.
npm install meant --save
npm install
npm test
> meant@1.0.0 test /Users/watilde/Development/meant
> standard && tap test.js
TAP version 13
# Subtest: test.js
# Subtest: test vs ['tast', 'tbst', 'tcst', 'foo']
ok 1 - list has tast
ok 2 - list has tbst
ok 3 - list has tcst
ok 4 - list doesn't have foo
1..4
ok 1 - test vs ['tast', 'tbst', 'tcst', 'foo'] # time=11.816ms
1..1
# time=44.006ms
ok 1 - test.js # time=249.154ms
1..1
# time=267.371ms
None
npm version
with automatic CHANGELOG generationMIT
Generated by package-json-to-readme
Copyright 2013 - present © cnpmjs.org | Home |