ufo
npmv1.6.4TypeScriptURL utils for humans
Safe to adopt
Yes — ufo scores well across adoption, maintenance, weight, supply chain, and licensing. 43.6M downloads per week and 5 known dependents. Last published 133 days ago. 5 releases in the last 2 years.
- AAdoption: grade A, Excellent.
43.6M downloads per week and 5 known dependents.
- BMaintenance: grade B, Good.
Last published 133 days ago. 5 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 110 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 ufo 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
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the ufo README.
// ESM
import { normalizeURL, joinURL } from "ufo";
// CommonJS
const { normalizeURL, joinURL } = require("ufo");
// Deno
import { parseURL } from "https://unpkg.com/ufo/dist/index.mjs";Dependencies
Declared by ufo v1.6.4. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (12)
Used by
Popular packages that depend on ufo.
Native-ESM powered web dev build tool
Missing ECMAScript module utils for Node.js
Hub layer that orchestrates devframe docks, terminals, messages, and commands on any host.
Framework for building one portable devtool integration that runs in any viewer.
Unified Package Manager for Node.js
Relationship graph
Dependencies (left) and dependents (right) of ufo.
Frequently installed together
Simple yet powerful framework for building command-line apps.
Universal filesystem path utils
Missing ECMAScript module utils for Node.js
Minimal H(TTP) framework built for high performance and portability.
The modular and type safe schema library for validating structural data
Get an available TCP port to listen
<!-- automd:badges color=yellow codecov bundlephobia packagephobia -->
Model Context Protocol implementation for TypeScript - Client package
A family of specs for interoperable TypeScript
Model Context Protocol implementation for TypeScript - Server package
A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.
A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename
Release history
5 releases in the last two years, typically about 38 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.6.4latest | 4 months ago | 110 KB | MIT |
| 1.6.3 | 7 months ago | 110 KB | MIT |
| 1.6.2 | 8 months ago | 109 KB | MIT |
| 1.6.1 | 1 year ago | 102 KB | MIT |
| 1.6.0 | 1 year ago | 103 KB | MIT |
| 1.5.4 | 2 years ago | 101 KB | MIT |
| 1.5.3 | 2 years ago | 101 KB | MIT |
| 1.5.2 | 2 years ago | 100 KB | MIT |
| 1.5.1 | 2 years ago | 100 KB | MIT |
| 1.5.0 | 2 years ago | 100 KB | MIT |
| 1.4.0 | 2 years ago | 95 KB | MIT |
| 1.3.2 | 2 years ago | 65 KB | MIT |
| 1.3.1 | 2 years ago | 64 KB | MIT |
| 1.3.0 | 3 years ago | 47 KB | MIT |
| 1.2.0 | 3 years ago | 46 KB | MIT |
Overview
ufo is an npm package that uRL utils for humans. It is extremely widely used, with about 43.6M downloads per week and 5 known dependents in the graph. The latest version is 1.6.4, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need uRL utils for humans and value a battle-tested, widely-adopted 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
- Large, well-established user base (43.6M weekly downloads).
- 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 ufo?
Yes — ufo scores well across adoption, maintenance, weight, supply chain, and licensing. 43.6M downloads per week and 5 known dependents. Last published 133 days ago. 5 releases in the last 2 years.
How do I install ufo?
Run `npm install ufo` to add ufo to your npm project.
What license is ufo released under?
ufo is distributed under the MIT license.
How popular is ufo?
ufo has approximately 43,577,011 downloads per week and 5 known dependent packages.
Is ufo still maintained?
The most recent release of ufo (v1.6.4) was published 4 months ago.
Does ufo run install scripts?
No. ufo does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.