0.3.2 • Published 4 years ago
serial-async-io
Licence
GPL-3.0-or-later
Version
0.3.2
Deps
0
Size
45 kB
Vulns
0
Weekly
0
serial-async-io
stat(), read(), and write() files via fs/promises, but one at a time.
Install yarn add serial-async-io
Import import { read, write } from 'serial-async-io'
Or import io from 'serial-async-io'
All three return promises.
Also, stat() returns false upon failure instead of throwing