kinda

1.0.3 • Public • Published

kinda

Determines if one string matches another. Returns a value that can be used to sort results.

npm install kinda

Usage:

const kinda = require('kinda');
 
const haystack = 'A Long String';
 
kinda('str', haystack);
// 1
 
kinda('ans', haystack);
// 0.5
 
kinda('xyz', haystack);
// 0

Readme

Keywords

none

Package Sidebar

Install

npm i kinda

Weekly Downloads

139

Version

1.0.3

License

MIT

Unpacked Size

2.32 kB

Total Files

3

Last publish

Collaborators

  • tschaub