1.2.0 • Published 4 years ago

string-fuzzy v1.2.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

string-fuzzy

Compare text in any possible way(string-fuzzy).

Rate on Openbase

string-fuzzy is an package that let's you compare your text value in any possible way .

Get started

Include

var fuzzy=require('string-fuzzy')

Use

var result=fuzzy.regex("stringtobesearched");

Example

var fuzzy=require('string-fuzzy')
app.get("/search/:id",function(req,res){
var result=fuzzy.regex(req.params.id);
table.find({cat:result},function(err,call){
console.log(call);
})
})

Contribution

Very much appreciate any types of donation and support.

Code

string-fuzzy follows github convention for contributions. Here are some steps:

  1. Fork the repo to your github account
  2. Checkout code from your github repo to your local machine.
  3. Make code changes and don't forget add related tests.
  4. Run npm test locally before pushing code back.
  5. Create a Pull Request on github.
  6. Code review and merge
  7. Changes will be published to NPM within next version.