npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community. package pages are missing percent-encoding for keyword hyperlinks

What I Wanted to Do

I expected to be sent here:"parser%20combinators"

What Happened Instead

I was sent here instead:

Reproduction Steps

  1. Go to
  2. Scroll down to the bottom of the page until you see the Keywords section.
  3. Click the only keyword “phrase” (multi-word term) which is parser combinators.
  4. The URL navigated to is


Broken URL (current)
<a ... href="/search?q=keywords:parser combinators">parser combinators</a>
Correct URL
<a ... href="/search?q=keywords%3Aparser%20combinators">parser combinators</a>
Node.js API
querystring.escape('keywords:parser combinators')

Platform Info

Google Chrome: Version 70.0.3538.102 (Official Build) (64-bit)

Prior Art

  1. website keyword search broken for keywords with spaces