</>PackageGraphPackageGraph

encodeurl

npmv2.0.0

Encode a URL to a percent-encoded form, excluding already-encoded sequences

Adopt with care

encodeurl is usable, with caveats. Last published 895 days ago.

  • AAdoption: grade A, Excellent.

    133.6M downloads per week and 5 known dependents.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 895 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 6.8 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding encodeurl to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

6.8 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >= 0.8
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the encodeurl README.

var encodeUrl = require('encodeurl')

encodeurl vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
encodeurlthis page133.6M5MIT2 years ago
query-string22.1M3MIT1 day ago
tr46192.6M1MIT1 day ago
@jridgewell/resolve-uri166.3M1MIT1 day ago
punycode148.9M2MIT1 day ago
open130.4M4MIT1 day ago

Dependencies

Declared by encodeurl v2.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (8)

eslint 5.11.1eslint-config-standard 12.0.0eslint-plugin-import 2.14.0eslint-plugin-node 7.0.1eslint-plugin-promise 4.0.1eslint-plugin-standard 4.0.0istanbul 0.4.5mocha 2.5.3

Used by

Popular packages that depend on encodeurl.

Relationship graph

Dependencies (left) and dependents (right) of encodeurl.

finalhandlersendexpresskoaserve-staticencodeurl
encodeurl dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 591 days apart.

Recent versions of encodeurl
VersionPublishedSizeLicense
2.0.0latest2 years ago6.8 KBMIT
1.0.28 years agoMIT
1.0.110 years agoMIT
1.0.010 years agoMIT

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 133.6M downloads per week and 5 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 (133.6M 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.

Maintainers

Keywords

Frequently asked questions

Should I use encodeurl?

encodeurl is usable, with caveats. Last published 895 days ago.

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 133,551,536 downloads per week and 5 known dependent packages.

Is encodeurl still maintained?

The most recent release of encodeurl (v2.0.0) was published 2 years ago.

Does encodeurl run install scripts?

No. encodeurl does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.