Skip to content

Conversation

@bramp
Copy link

@bramp bramp commented May 31, 2024

For ~two years 'del' no longer exports a default method, and instead exports deleteAsync() and deleteSync(), the former replacing del()

See sindresorhus/del@106d7d8

For ~two years 'del' no longer exports a default method, and instead exports `deleteAsync()` and `deleteSync()`, the former replacing `del()`

See sindresorhus/del@106d7d8
@yocontra
Copy link
Member

This seems like a good opportunity to eliminate a dependency and use import fs from 'fs/promises' + rmdir since this example was written before fs/promises existed del was the cleanest to use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants