typicode / lowdb

Simple and fast JSON database
MIT License
21.49k stars 923 forks source link

fix: esm error #492

Closed ysfscream closed 3 years ago

ysfscream commented 3 years ago

image

ivawzh commented 3 years ago

I need this fix too. Please move it forward.

gsxhnd commented 3 years ago

plz

typicode commented 3 years ago

Since type: module is removed in this PR, this would break ESM support. Like other packages, I prefer to follow the move to ESM only. Sorry.

If you need a CommonJS library meanwhile, lowdb 1.0 works perfectly fine, is feature complete and stable.