Promise-based `write` API?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- api
Research direction
Start with src/write.js at lines 15-16 and compare the current callback contract with the README usage. Determine whether a promise-based write API should replace or complement the callback form; done means the chosen API behavior is implemented and documented.
Written by the indexing model from the issue text.
Description
While updating the README, I realized that write does not use async/await. This seems ancient. This issue tracks the upgrade of this (unless the current callback form is in fact better for some reason)
- Dominant language
- JavaScript
- Stars
- 321
- Forks
- 193
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from mapbox/shp-write
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
how to use write() ?Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
corrupted charactersOpen
Difficulty 3/5 1-2 days Newbie friendliness 15/100
All issues in mapbox/shp-write
Similar issues
-
bug MVP
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
saayam-for-all/webapp#1911 ·
Maintainers usually reply within 1 day
-
[Focus] Accessibility (a11y) [Package] Grid [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Cancelled query leaves stale row index; next query on the connection returns leading empty slotsPossibly taken @pislm claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 7 days
-
Harden bayesian-waves-bg.js: add prefers-reduced-motion, pointer-events guard, and hidden-tab pauseOpen
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
njitacm/njit-acm-website#109 ·