Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.117.82.179
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
node_modules /
meant /
Delete
Unzip
Name
Size
Permission
Date
Action
.github
[ DIR ]
drwxr-xr-x
2024-03-03 22:36
CHANGELOG.md
1.31
KB
-rw-r--r--
2021-03-10 14:36
LICENSE
1.05
KB
-rw-r--r--
2021-03-10 14:36
README.md
1.44
KB
-rw-r--r--
2021-03-10 14:36
index.js
986
B
-rw-r--r--
2021-03-10 14:36
package.json
1.38
KB
-rw-r--r--
2021-03-10 14:36
test.js
431
B
-rw-r--r--
2021-03-10 14:36
Save
Rename
# meant  Like the `Did you mean?` in git for npm ## API ### meant(item, list) + item {String} A key for finding an approximate value + list {Array} A list for comparing with the item ```js const meant = require('meant') const result = meant('foa', ['foo', 'bar', 'baz']) // => [ 'foo' ] ``` ## Installation Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already. ```sh npm install meant --save ``` ## Tests ```sh 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 ``` ## Dependencies None ## Dev Dependencies - [standard](https://github.com/feross/standard): JavaScript Standard Style - [standard-version](https://github.com/conventional-changelog/standard-version): replacement for `npm version` with automatic CHANGELOG generation - [tap](https://github.com/tapjs/node-tap): A Test-Anything-Protocol library ## License MIT _Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_