Closed neko-para closed 3 years ago
I'm not sure how model work in driver. Can user pass anything to driver(like dexie driver does)? I havn't found any example yet. And is there a place for initialization? Or if it have to be initialized by user(e.g. add a class for json loading and saving, and pass it to driver)
Thanks for your help!!
This commit let me know some of the flaws that drivers api design, I will improve them in the near future and write a detailed document~
I’ll merge it first, I’m very very happy to be able to get your help quq!!
Add basic support for nodejson driver. Add new dependence @types/node in driver. Add LICENSE and tsconfig.
Still WIP. Some behaviors need to be determined.