Our great sponsors
-
zap-db
An easy to use JSON database written with ease of setup and memory management of slack bots in mind.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
You should consider avoiding sync FS operations however, such as in https://github.com/sdslabs/zap-db/blob/master/src/lib/session.ts . This is because of how the event loop in Node.js works: using async operations allows Node.js to work on another request while it waits for the operating system to read the file; if you use sync operations, however, it blocks the entire event loop so only one request at a time can be processed.