npmsearch | blazing fast npm search utility | Runtime Evironment library
kandi X-RAY | npmsearch Summary
kandi X-RAY | npmsearch Summary
This is the code that powers npmsearch.com, which provides a clean interface to searching pseudo-rated node packages from npm.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of npmsearch
npmsearch Key Features
npmsearch Examples and Code Snippets
Community Discussions
Trending Discussions on npmsearch
QUESTION
I'm looking for a way to query the npm REST API to return relevant results. I want to integrate the search into my app.
F.e. If I query npm for "bootstrap" I'll receive a bunch of results, but not the twitter bootstrap package on the first page:
Request
curl https://npmsearch.com/query?q=bootstrap&fields=name,description,rating,version
Result
{"results":[{"name":["apta-bootstrap"],"version":["1.0.0"],"description":["apta bootstrap assets"]},{"name":["ender-bootstrap"],"version":["2.2.1"],"description":["Ender version of Twitter's Bootstrap JS (all plugins)"]},{"name":["bootstrap-extends"],"version":["1.0.1"],"description":["Useful extensions for Bootstrap 3"]},{"name":["bootstrap-submenu-hover"],"version":["2.0.8"],"description":["Bootstrap Sub-Menus"]},{"name":["bootstrap-submenu"],"version":["2.0.4"],"description":["Bootstrap Sub-Menus"]},{"name":["bootstrap-toggle-react"],"version":["0.1.6"],"description":["Bootstrap Toggle is a react component providing a toggle, based on www.bootstraptoggle.com"]},{"name":["bootstrap-layout-scrollable"],"version":["1.1.0"],"description":["Bootstrap Layout integration with Simplebar.js"]},{"name":["mithril-admin-bootstrap"],"version":["0.0.2"],"description":["Twitter Bootstrap plugin for mithril-admin"]},{"name":["bootstrap-checkbox"],"version":["1.4.0"],"description":["A checkbox component based on Bootstrap framework"]},{"name":["npmdoc-bootstrap-notify"],"version":["0.0.2"],"description":["#### api documentation for [bootstrap-notify (v3.1.3)](http://bootstrap-notify.remabledesigns.com/) [![npm package](https://img.shields.io/npm/v/npmdoc-bootstrap-notify.svg?style=flat-square)](https://www.npmjs.org/package/npmdoc-bootstrap-notify) [![tr"]}],"total":13546,"from":0}
How could I improve the practicality of the NPM search?
yarnpkg.com has done a good job providing a cool search, however the search doesn't seem to be intended to be accessed publically, i.e. https://yarnpkg.com/en/packages?q=bootstrap&p=1
Do you have any suggestions?
Thanks.
...ANSWER
Answered 2017-Aug-27 at 15:06To query npm package information, npmjs.com's search URL can be used:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install npmsearch
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page