gitwtfhub

wtf is promise?

kentonv/promise — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2016-09-05

JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

TL;DR

A JavaScript library that adds Promise support to older environments, plus a Fiber-based mode that lets async code read like ordinary synchronous code.

Mindmap

mindmap
  root((promise))
    What it does
      Adds Promise support
      Fiber-based async await
      Backward compatible
    Tech stack
      JavaScript
      Fibers
      Meteor
    Use cases
      Support older environments
      Write synchronous-style async code
      Use with Meteor apps
    Audience
      Meteor developers
      JavaScript developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Add Promise support to a JavaScript environment that lacks native Promises

REASON 2

Write asynchronous code that reads top-to-bottom using Promise.async and Promise.await

REASON 3

Install into a Meteor project with a single meteor add promise command

REASON 4

Pair the library with a Fiber implementation in a non-Meteor project

What's in the stack?

JavaScriptMeteorFibers

How it stacks up

kentonv/promise3rd-eden/ircb.ioa15n/a15n
LanguageJavaScriptJavaScriptJavaScript
Last pushed2016-09-052016-11-162019-04-07
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Fiber support requires telling the library which Fiber implementation you're using.

Yoink these prompts

Prompt 1
Help me install this promise library in my Meteor project using meteor add promise
Prompt 2
Show me how to use Promise.async and Promise.await to write synchronous-looking async code
Prompt 3
Help me configure this library to work with a Fiber implementation outside of Meteor
Prompt 4
Explain the difference between using standard .then() chaining and the Fiber-based async/await in this library

Frequently asked questions

wtf is promise?

A JavaScript library that adds Promise support to older environments, plus a Fiber-based mode that lets async code read like ordinary synchronous code.

What language is promise written in?

Mainly JavaScript. The stack also includes JavaScript, Meteor, Fibers.

Is promise actively maintained?

Dormant — no commits in 2+ years (last push 2016-09-05).

How hard is promise to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is promise for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.