npm

http-library npm

NPM package manager

About this crawler

npm is a web crawler identified by the regular-expression pattern npm in the User-Agent request header. It is categorised as http-library. Use the regex above to detect, log, allow, or block npm traffic in your web server, CDN edge rules, or robots.txt.

Block-rate · top 25k sites

No block-rate data for this crawler.

Technical details

Name
npm
Pattern
npm
Tags
http-library
Reference
https://www.npmjs.com/
Added
2026/05/09
Instances
1 known sample(s)

Sample User-Agent strings

npm/6.14.12 node/v10.24.1 linux x64 ci/drone

Block this crawler

robots.txt — disallow npm:

User-agent: npm Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} npm [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

if ($http_user_agent ~* "npm") { return 403; }
← back to all crawlers