decode-uri-component
npmv0.5.0TypeScriptA better decodeURIComponent
Safe to adopt
Yes — decode-uri-component scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 72 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 72 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 8.4 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- 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 decode-uri-component to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >=14.16
- Module format
- ESM only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the decode-uri-component README.
import decodeUriComponent from 'decode-uri-component';
decodeUriComponent('%25');
//=> '%'
decodeUriComponent('%');
//=> '%'
decodeUriComponent('st%C3%A5le');
//=> 'ståle'
decodeUriComponent('%st%C3%A5le%');
//=> '%ståle%'
decode-uri-component vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| decode-uri-componentthis page | 0 | 1 | MIT | 2 months ago |
| fast-decode-uri-component | 0 | 1 | MIT | 1 day ago |
| @jridgewell/resolve-uri | 166.3M | 1 | MIT | 1 day ago |
| query-string | 22.1M | 3 | MIT | 1 day ago |
| tr46 | 192.6M | 1 | MIT | 1 day ago |
| punycode | 148.9M | 2 | MIT | 1 day ago |
Dependencies
Declared by decode-uri-component v0.5.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (5)
Used by
Popular packages that depend on decode-uri-component.
Relationship graph
Dependencies (left) and dependents (right) of decode-uri-component.
Frequently installed together
Release history
1 release in the last two years, typically about 12 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.5.0latest | 2 months ago | 8.4 KB | MIT |
| 0.4.1 | 3 years ago | 6.4 KB | MIT |
| 0.4.0 | 3 years ago | 5.9 KB | MIT |
| 0.3.0 | 3 years ago | 5.9 KB | MIT |
| 0.2.2 | 3 years ago | 6.0 KB | MIT |
| 0.2.1 | 3 years ago | 5.9 KB | MIT |
| 0.2.0 | 9 years ago | — | MIT |
| 0.1.0 | 9 years ago | — | MIT |
Overview
decode-uri-component is an npm package that a better decodeURIComponent. It has 1 known dependents in the graph. The latest version is 0.5.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a better decodeURIComponent and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use decode-uri-component?
Yes — decode-uri-component scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 72 days ago.
How do I install decode-uri-component?
Run `npm install decode-uri-component` to add decode-uri-component to your npm project.
What license is decode-uri-component released under?
decode-uri-component is distributed under the MIT license.
How popular is decode-uri-component?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on decode-uri-component.
Is decode-uri-component still maintained?
The most recent release of decode-uri-component (v0.5.0) was published 2 months ago.
Does decode-uri-component run install scripts?
No. decode-uri-component does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.