What ways are there to find npm packages?
Below is community maintained listing compiled from the answers below.
npm search <keyword>
Search also allows targeting of maintainers in search results, by prefixing their npm username with = . If a term starts with / , then it's interpreted as a regular expression and supports standard JavaScript RegExp syntax. In this case search will ignore a trailing / .
const npmName = require('npm-name'); (async () => { // Check a package name console. log(await npmName('chalk')); //=> false // Check an organization name console. log(await npmName('@ava')); //=> false })(); npm-name-cli.
on windows: c/Program\ Files/nodejs/node_modules/npm/npmrc.
npm search
works pretty well:
npm search connect
npm view
will show you the timestamp of each version and everthing else from package.json
(including node version)
npm view connect
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With