find-similar-packages
1.0.1 • Public • Published find-similar-packages
find packages similar to given one. Similarity is decided based on keyword matching.
- returns a promise
- default result size is 10
Examples
find 10 packages similar to 'express'
var findSimilar = require('find-similar-packages');
findSimilar('express').then(function (packages) {
console.log(packages);
}).catch(function (error) {
console.log(error);
});
find 5 packages similar to 'mongoose'
var findSimilar = require('find-similar-packages');
findSimilar('mongoose', 5).then(function (packages) {
console.log(packages);
}).catch(function (error) {
console.log(error);
});
Package Sidebar
Install
npm i find-similar-packages
Weekly Downloads