</>PackageGraphPackageGraph

process-warning

npmv5.1.0TypeScript

A small utility for creating warnings and emitting them.

Safe to adopt

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

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

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 41 days ago. 3 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 35 KB installed.

  • ASupply chain: grade A, Excellent.

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

  • 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 process-warning 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.

35 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
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the process-warning README.

const {
  createWarning,
  createDeprecation
} = require('process-warning')

const warning = createWarning({
  name: 'ExampleWarning',
  code: 'EXP_WRN_001',
  message: 'Hello %s',
  unlimited: true
})
const emitted = warning('world')

process-warning vs the alternatives

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

PackageWeekly downloadsDependentsLicenseLast release
process-warningthis page02MIT1 month ago
@fastify/error02MIT1 day ago
type-fest337.8M6(MIT OR CC0-1.0)1 day ago
http-errors149.4M7MIT1 day ago
@rolldown/pluginutils132.4M1MIT1 day ago
once109.6M1ISC1 day ago

Dependencies

Declared by process-warning v5.1.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (6)

benchmark ^2.1.4c8 ^12.0.0eslint ^9.17.0jest ^30.0.3neostandard ^0.13.0tstyche ^7.0.0

Used by

Popular packages that depend on process-warning.

Relationship graph

Dependencies (left) and dependents (right) of process-warning.

fastifylight-my-requestprocess-warning
process-warning dependencies dependents

Frequently installed together

Release history

3 releases in the last two years, typically about 142 days apart.

Recent versions of process-warning
VersionPublishedSizeLicense
5.1.0latest1 month ago35 KBMIT
5.0.01 year ago24 KBMIT
4.0.11 year ago22 KBMIT
4.0.02 years ago22 KBMIT
3.0.02 years ago21 KBMIT
2.3.22 years ago20 KBMIT
2.3.12 years ago22 KBMIT
2.3.02 years ago20 KBMIT
2.2.03 years ago14 KBMIT
2.1.03 years ago12 KBMIT
2.0.04 years ago11 KBMIT
1.0.04 years ago12 KBMIT

Overview

process-warning is an npm package that a small utility for creating warnings and emitting them. It has 2 known dependents in the graph. The latest version is 5.1.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a small utility for creating warnings and emitting them 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

Funding

Frequently asked questions

Should I use process-warning?

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

How do I install process-warning?

Run `npm install process-warning` to add process-warning to your npm project.

What license is process-warning released under?

process-warning is distributed under the MIT license.

How popular is process-warning?

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

Is process-warning still maintained?

The most recent release of process-warning (v5.1.0) was published 1 month ago.

Does process-warning run install scripts?

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