</>PackageGraphPackageGraph

webidl-conversions

npmv8.0.1

Implements the WebIDL algorithms for converting to and from JavaScript values

Safe to adopt

Yes — webidl-conversions scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 250 days ago. 2 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 250 days ago. 2 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 23 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 6 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    BSD-2-Clause — 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 webidl-conversions 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.

23 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 >=20
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the webidl-conversions README.

"use strict";
const conversions = require("webidl-conversions");

function doStuff(x, y) {
    x = conversions["boolean"](x);
    y = conversions["unsigned long"](y);
    // actual algorithm code here
}

webidl-conversions vs the alternatives

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

PackageWeekly downloadsDependentsLicenseLast release
webidl-conversionsthis page02BSD-2-Clause8 months ago
type-fest337.8M6(MIT OR CC0-1.0)1 day ago
mime-types185.3M9MIT1 day ago
csstype142.8M2MIT1 day ago
express92.8M17MIT1 day ago
expect-type78.4M8Apache-2.01 day ago

Dependencies

Declared by webidl-conversions v8.0.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (4)

@domenic/eslint-config ^4.0.1c8 ^10.1.3eslint ^9.39.2globals ^17.0.0

Used by

Popular packages that depend on webidl-conversions.

Relationship graph

Dependencies (left) and dependents (right) of webidl-conversions.

whatwg-urljsdomwebidl-conversions
webidl-conversions dependencies dependents

Frequently installed together

Release history

2 releases in the last two years, typically about 63 days apart.

Recent versions of webidl-conversions
VersionPublishedSizeLicense
8.0.1latest8 months ago23 KBBSD-2-Clause
8.0.01 year ago24 KBBSD-2-Clause
7.0.05 years ago24 KBBSD-2-Clause
6.1.06 years ago25 KBBSD-2-Clause
6.0.06 years ago22 KBBSD-2-Clause
5.0.06 years ago19 KBBSD-2-Clause
4.0.29 years agoBSD-2-Clause
4.0.19 years agoBSD-2-Clause
4.0.09 years agoBSD-2-Clause
3.0.110 years agoBSD-2-Clause
3.0.010 years agoBSD-2-Clause
2.0.110 years agoBSD-2-Clause
2.0.011 years agoBSD-2-Clause
1.2.111 years agoBSD-2-Clause
1.2.012 years agoBSD-2-Clause

Overview

webidl-conversions is an npm package that implements the WebIDL algorithms for converting to and from JavaScript values. It has 2 known dependents in the graph. The latest version is 8.0.1, released under the BSD-2-Clause license.

Who should use it

Teams working in the npm ecosystem who need implements the WebIDL algorithms for converting to and from JavaScript values 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 (BSD-2-Clause).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use webidl-conversions?

Yes — webidl-conversions scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 250 days ago. 2 releases in the last 2 years.

How do I install webidl-conversions?

Run `npm install webidl-conversions` to add webidl-conversions to your npm project.

What license is webidl-conversions released under?

webidl-conversions is distributed under the BSD-2-Clause license.

How popular is webidl-conversions?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on webidl-conversions.

Is webidl-conversions still maintained?

The most recent release of webidl-conversions (v8.0.1) was published 8 months ago.

Does webidl-conversions run install scripts?

No. webidl-conversions does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.