From 5116aa84d8895fc3e2406c85f49622692c51bdde Mon Sep 17 00:00:00 2001 From: fisker Date: Tue, 23 Jan 2024 15:25:45 +0800 Subject: [PATCH] Mention `synckit` and `make-synchronous` --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index dba10dd..8ff37bc 100644 --- a/readme.md +++ b/readme.md @@ -33,7 +33,9 @@ synchronizedPrettier.format("foo( )", { parser: "babel" }); This package is a simple wrapper of [`make-synchronized`](https://github.com/fisker/make-synchronized). -For more complex use cases, it more reasonable to extract into a separate file, and run with [`make-synchronized`](https://github.com/fisker/make-synchronized), example +For more complex use cases, it more reasonable to extract functionality into a separate file, and run with [`make-synchronized`](https://github.com/fisker/make-synchronized), [`synckit`](https://github.com/un-ts/synckit), or [`make-synchronous`](https://github.com/sindresorhus/make-synchronous) etc. + +Example: ```js import * as fs from "node:fs/promises";