{"library":"libnpmsearch","type":"library","category":null,"description":"libnpmsearch is a Node.js library providing a programmatic API for searching packages within the npm registry and compatible alternative registries. Currently stable at version 9.0.1, it is part of the broader npm CLI ecosystem, benefiting from its active maintenance and continuous integration. The library exclusively utilizes the modern npm search endpoint, explicitly *not* supporting legacy `/-/all` search methods. It differentiates itself by offering detailed search parameters, including sorting by quality, maintenance, and popularity, and integrates seamlessly with `npm-registry-fetch` for robust request configuration, authentication, and caching capabilities. Its release cadence is tied to the npm CLI's development, providing regular updates and bug fixes for modern Node.js environments.","language":"javascript","status":"active","version":"9.0.1","tags":["javascript","npm","search","api","libnpm"],"last_verified":"Wed May 27","install":[{"cmd":"npm install libnpmsearch","imports":["import search from 'libnpmsearch'","const search = require('libnpmsearch')","import search from 'libnpmsearch'; const results = await search.stream('react')"]},{"cmd":"yarn add libnpmsearch","imports":[]},{"cmd":"pnpm add libnpmsearch","imports":[]}],"homepage":"https://npmjs.com/package/libnpmsearch","github":"https://github.com/npm/cli","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/libnpmsearch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/libnpmsearch/compatibility"}}