NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #250 most downloaded on npm
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Latest stable
3.0.1
Last release 10 days ago
12 Nov 2026
Release timing varies
gaps range from 2 weeks to 6.2 years
Nearly every release is documented
notes for 11 of 11 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
11 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Fix encoding of % next to a valid sequence or at the end by @yxshee in #40
Fixed
Full Changelog: v3.0.0...v3.0.1
Important: This version switches the package to ESM and node >= 22.
Important: This version switches the package to ESM and node >= 22.
Changed
encodeUrl(String(x)) if requiredImproved
Full Changelog: v2.0.1...v3.0.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Re-release with back ported workflow for trusted publishing #45
Fixed
Full Changelog: v2.0.2...v2.0.3
[Backport] Fix encoding of % next to a valid sequence or at the end by @yxshee in #40
Fixed
Full Changelog: v2.0.1...v2.0.2
Replace consecutive unpaired surrogates ( #34 ) 119ba5f
Align encoding with WHATWG URL spec ( #8 ) be0f77b
Changed
Important: If you are using this to encode user entered and validated URLs, upgrade to v2 immediately. It is possible to exploit \ encoding in v1. A URL can be formed that looks like http://foo.com\@bar.com, which parses as foo.com for the host, but when encodeUrl(url) will parse as bar.com for the host.
Re-release with back ported workflow for trusted publishing
[Backport] Fix encoding of % next to a valid sequence or at the end by @yxshee in #40
Fixed
% next to a valid sequence or at the end by @yxshee in #40Full Changelog: v1.0.2...v1.0.3
Fix encoding % as last character
% as last characterFix encoding unpaired surrogates at start/end of string
Initial release
One column per quarter.