</>PackageGraphPackageGraph

ufo

npmv1.6.4TypeScript

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

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.

110 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
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)

@types/node ^25.6.0@vitest/coverage-v8 ^4.1.5automd ^0.4.3changelogen ^0.6.2eslint ^10.2.1eslint-config-unjs ^0.6.2jiti ^2.6.1prettier ^3.8.3typescript ^6.0.3unbuild ^3.6.1untyped ^2.0.0vitest ^4.1.5

Used by

Popular packages that depend on ufo.

Relationship graph

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

vitemlly@devframes/hubdevframenypmufo
ufo dependencies dependents

Frequently installed together

Release history

5 releases in the last two years, typically about 38 days apart.

Recent versions of ufo
VersionPublishedSizeLicense
1.6.4latest4 months ago110 KBMIT
1.6.37 months ago110 KBMIT
1.6.28 months ago109 KBMIT
1.6.11 year ago102 KBMIT
1.6.01 year ago103 KBMIT
1.5.42 years ago101 KBMIT
1.5.32 years ago101 KBMIT
1.5.22 years ago100 KBMIT
1.5.12 years ago100 KBMIT
1.5.02 years ago100 KBMIT
1.4.02 years ago95 KBMIT
1.3.22 years ago65 KBMIT
1.3.12 years ago64 KBMIT
1.3.03 years ago47 KBMIT
1.2.03 years ago46 KBMIT

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.