encodeurl
npmv2.0.0Encode a URL to a percent-encoded form, excluding already-encoded sequences
Overview
encodeurl is an npm package that encode a URL to a percent-encoded form, excluding already-encoded sequences. It is extremely widely used, with about 122.7M downloads per week and 3 known dependents in the graph. The latest version is 2.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need encode a URL to a percent-encoded form, excluding already-encoded sequences and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (122.7M weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of encodeurl.
Dependencies
Dev (8)
Used by
Popular packages that depend on encodeurl.
Node.js final http responder
Better streaming static file server with Range and conditional-GET support
Serve static files
Fast, unopinionated, minimalist web framework
Koa web app framework
Alternatives to encodeurl
A querystring parser that supports nesting and arrays, with a depth limit
HTTP and HTTPS modules that follow redirects.
Some useful utilities I often need
protobuf-style varint bytes - use msb to create integer values of varying sizes
Frequently installed together
Escape string for use in HTML
HTTP status utility
An AST-based pattern checker for JavaScript.
Execute a callback when a request closes, finishes, or errors
parse a url with memoization
Lightweight debugging utility for Node.js and the browser
The ultimate javascript content-type utility.
Create HTTP error objects
HTTP response freshness testing
Create and parse HTTP Content-Type header
Higher-level content negotiation
Better streaming static file server with Range and conditional-GET support
Version history
| Version | Published | License |
|---|---|---|
| 2.0.0latest | 2 years ago | MIT |
| 1.0.2 | 8 years ago | MIT |
| 1.0.1 | 10 years ago | MIT |
| 1.0.0 | 10 years ago | MIT |
Maintainers
Frequently asked questions
How do I install encodeurl?
Run `npm install encodeurl` to add encodeurl to your npm project.
What license is encodeurl released under?
encodeurl is distributed under the MIT license.
How popular is encodeurl?
encodeurl has approximately 122,662,489 downloads per week and 3 known dependent packages.