</>PackageGraphPackageGraph

promise

npmv8.3.0

Bare bones Promises/A+ implementation

Not recommended for new projects

No — promise should not be adopted for new projects. Last published 1415 days ago.

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

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1415 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 107 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 3 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 promise to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

107 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing promise, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the promise README.

<script src="https://www.promisejs.org/polyfills/promise-6.1.0.js"></script>

Dependencies

Declared by promise v8.3.0. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (1)

Dev (6)

acorn ^1.0.1better-assert *istanbul ^0.3.13mocha *promises-aplus-tests *rimraf ^2.3.2

Used by

Popular packages that depend on promise.

Relationship graph

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

asaprxjslessreact-nativefbjsthroatpromise
promise dependencies dependents

Frequently installed together

Release history

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

Recent versions of promise
VersionPublishedSizeLicense
8.3.0latest3 years ago107 KBMIT
8.3.0-canary-53 years ago107 KBMIT
8.2.04 years ago101 KBMIT
8.2.0-canary-44 years ago101 KBMIT
8.2.0-canary-24 years ago101 KBMIT
8.1.06 years ago93 KBMIT
8.0.37 years ago90 KBMIT
8.0.28 years ago90 KBMIT
8.0.19 years agoMIT
8.0.09 years agoMIT
7.3.19 years agoMIT
7.3.09 years agoMIT
7.2.09 years agoMIT
7.1.110 years agoMIT
7.1.010 years agoMIT

Overview

promise is an npm package that bare bones Promises/A+ implementation. It has 5 known dependents in the graph. The latest version is 8.3.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need bare bones Promises/A+ implementation 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 (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 promise?

No — promise should not be adopted for new projects. Last published 1415 days ago.

How do I install promise?

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

How many dependencies does promise have?

promise declares 7 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 107 KB on disk.

What license is promise released under?

promise is distributed under the MIT license.

How popular is promise?

npm does not publish download counts. Within PackageGraph's crawl, 5 known packages depend on promise.

Is promise still maintained?

The most recent release of promise (v8.3.0) was published 3 years ago.

Does promise run install scripts?

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