</>PackageGraphPackageGraph

decode-uri-component

npmv0.5.0TypeScript

A 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.

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.

8.4 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 >=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%'
Example truncated — see the full README.

decode-uri-component vs the alternatives

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

PackageWeekly downloadsDependentsLicenseLast release
decode-uri-componentthis page01MIT2 months ago
fast-decode-uri-component01MIT1 day ago
@jridgewell/resolve-uri166.3M1MIT1 day ago
query-string22.1M3MIT1 day ago
tr46192.6M1MIT1 day ago
punycode148.9M2MIT1 day ago

Dependencies

Declared by decode-uri-component v0.5.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (5)

ava ^5.1.0coveralls ^3.1.1nyc ^15.1.0tsd ^0.25.0xo ^0.53.1

Used by

Popular packages that depend on decode-uri-component.

Relationship graph

Dependencies (left) and dependents (right) of decode-uri-component.

query-stringdecode-uri-compon…
decode-uri-component dependencies dependents

Frequently installed together

Release history

1 release in the last two years, typically about 12 days apart.

Recent versions of decode-uri-component
VersionPublishedSizeLicense
0.5.0latest2 months ago8.4 KBMIT
0.4.13 years ago6.4 KBMIT
0.4.03 years ago5.9 KBMIT
0.3.03 years ago5.9 KBMIT
0.2.23 years ago6.0 KBMIT
0.2.13 years ago5.9 KBMIT
0.2.09 years agoMIT
0.1.09 years agoMIT

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

Keywords

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.