You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
Reading and writing objects as json files is a really common pattern, and it's a small-but-notable pain to have to call JSON parse and stringify every time.
Let's add 'json' encoding to readFile and writeFile. If specified, the API will automatically parse (readFile) or stringify (writeFile) the json.
Reading and writing objects as json files is a really common pattern, and it's a small-but-notable pain to have to call JSON parse and stringify every time.
Let's add 'json' encoding to readFile and writeFile. If specified, the API will automatically parse (readFile) or stringify (writeFile) the json.
Example:
Sugars may clutter the APIs a bit, but developers is users too, and this is an easy DX improvement.
The text was updated successfully, but these errors were encountered: