jprichardson / jprichardson/node-suppose
Simulate Promise
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 255
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
end() could be renamed to then()
end(exitCode) and on('error') could be replaced with catch()
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementation and tests for end(), end(exitCode), and on('error'). Check how these entry points currently behave before assessing the proposed then() and catch() API. Done means the promise-style interface is defined and covered by tests without leaving the existing behavior ambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100