fast-decode-uri-component
npmv1.0.1Fast and safe decodeURIComponent
Not recommended for new projects
No — fast-decode-uri-component should not be adopted for new projects. Last published 2735 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 2735 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 9.0 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 fast-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
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the fast-decode-uri-component README.
const fastDecode = require('fast-decode-uri-component')
console.log(fastDecode('test')) // 'test'
console.log(fastDecode('%25')) // '%'
console.log(fastDecode('/test/hel%2Flo')) // '/test/hel/lo'
console.log(fastDecode('/test/hel%"Flo')) // null
console.log(fastDecode('%7B%ab%7C%de%7D')) // null
console.log(fastDecode('%ab')) // nullfast-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 |
|---|---|---|---|---|
| fast-decode-uri-componentthis page | 0 | 1 | MIT | 7 years ago |
| decode-uri-component | 0 | 1 | MIT | 18 hours ago |
| @nodable/entities | 0 | 2 | MIT | 17 hours ago |
| @jridgewell/resolve-uri | 166.3M | 1 | MIT | 17 hours ago |
| fast-glob | 135.1M | 8 | MIT | 14 hours ago |
| fastq | 122.5M | 1 | ISC | 19 hours ago |
Dependencies
Declared by fast-decode-uri-component v1.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (4)
Used by
Popular packages that depend on fast-decode-uri-component.
Relationship graph
Dependencies (left) and dependents (right) of fast-decode-uri-component.
Frequently installed together
Next generation testing framework powered by Vite
Parse and stringify URL query strings
A querystring parser that supports nesting and arrays, with a depth limit
A JavaScript implementation of many web standards
TypeScript definitions for node
Low level bindings for creating Web Standard contexts.
Release history
No releases in the last two years.
| Version | Published | Size | License |
|---|---|---|---|
| 1.0.1latest | 7 years ago | 9.0 KB | MIT |
| 1.0.0 | 8 years ago | 8.9 KB | MIT |
Overview
fast-decode-uri-component is an npm package that fast and safe decodeURIComponent. It has 1 known dependents in the graph. The latest version is 1.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need fast and safe decodeURIComponent and value a focused 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
- 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
Frequently asked questions
Should I use fast-decode-uri-component?
No — fast-decode-uri-component should not be adopted for new projects. Last published 2735 days ago.
How do I install fast-decode-uri-component?
Run `npm install fast-decode-uri-component` to add fast-decode-uri-component to your npm project.
What license is fast-decode-uri-component released under?
fast-decode-uri-component is distributed under the MIT license.
How popular is fast-decode-uri-component?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on fast-decode-uri-component.
Is fast-decode-uri-component still maintained?
The most recent release of fast-decode-uri-component (v1.0.1) was published 7 years ago.
Does fast-decode-uri-component run install scripts?
No. fast-decode-uri-component does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.