search-packages
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

search-packages

NPM version NPM downloads

Github NodeJS Codecov Codacy Badge

Greenkeeper Semantic Release

Visual Studio Code Wallaby.js

Search packages on npm.

Usage

import { searchByKeywords } from 'search-packages'
 
(async () => {
  const packages = await searchByKeywords(['some-keyword', 'more-keywords']) // ['pkg-a', 'pkg-b']
}())
 
// get additional fields
(async () => {
  // [{ name: 'pkg-a', description: 'a' }, { name: 'pkg-b', description: 'b' }]
  const packages = await searchByKeywords(['some-keyword', 'more-keywords'], ['description'])
}())

Contribute

# after fork and clone 
npm install
 
# begin making changes 
git checkout -b <branch>
npm run watch
 
# after making change(s) 
git commit -m "<commit message>"
git push
 
# create PR 

/search-packages/

    Package Sidebar

    Install

    npm i search-packages

    Weekly Downloads

    77

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    14.4 kB

    Total Files

    15

    Last publish

    Collaborators

    • unional