Skip to content

FaberVitale/pinky-promise

Repository files navigation

PinkyPromise

Description

A Promise A+ spec compliant Promise implementation written in Typescript.

The api is copy of Ecmascript Promise.

Why?

This implementation was built for a talk.

Although fully spec compliant and thoroughly tested, we do no recommend using this implementation the over globalThis.Promise.

Develop

Set node version

nvm use

Package manager

This project uses pnpm as package manger and managed by corepack.

Run corepack enable to enable pnpm.

Scripts

build

pnpm build

test

pnpm test # requires `pnpm build`

References

MDN

Specs

License

MIT