</>PackageGraphPackageGraph

setimmediate

npmv1.0.5

A shim for the setImmediate efficient script yielding API

Not recommended for new projects

No — setimmediate should not be adopted for new projects. Last published 3650 days ago.

  • AAdoption: grade A, Excellent.

    50.7M downloads per week and 2 known dependents.

  • FMaintenance: grade F, Failing.

    Last published 3650 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies.

  • 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 setimmediate 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.

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
No bundled types
Install scripts
None

Quick start

A usage example from the setimmediate README.

require("setimmediate");  // (somewhere early in your app; it attaches to the global scope.)

Dependencies

Declared by setimmediate v1.0.5. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (5)

http-server ~0.6.1jshint ^2.5.0mocha ~1.18.2opener ^1.3zuul ^1.6.4

Used by

Popular packages that depend on setimmediate.

Relationship graph

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

jszipfbjssetimmediate
setimmediate dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 330 days apart.

Recent versions of setimmediate
VersionPublishedSizeLicense
1.0.5latest10 years agoMIT
1.0.411 years agoMIT
1.0.311 years agoMIT
1.0.212 years agoMIT
1.0.113 years agoMIT
1.0.013 years agoMIT

Overview

setimmediate is an npm package that a shim for the setImmediate efficient script yielding API. It is extremely widely used, with about 50.7M downloads per week and 2 known dependents in the graph. The latest version is 1.0.5, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a shim for the setImmediate efficient script yielding API and value a battle-tested, widely-adopted 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

  • Large, well-established user base (50.7M weekly downloads).
  • 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 setimmediate?

No — setimmediate should not be adopted for new projects. Last published 3650 days ago.

How do I install setimmediate?

Run `npm install setimmediate` to add setimmediate to your npm project.

What license is setimmediate released under?

setimmediate is distributed under the MIT license.

How popular is setimmediate?

setimmediate has approximately 50,668,839 downloads per week and 2 known dependent packages.

Is setimmediate still maintained?

The most recent release of setimmediate (v1.0.5) was published 10 years ago.

Does setimmediate run install scripts?

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