Parcel

Parcel is a bundling tool which is similar to Webpack.Parcel uses worker processes to enable multicore compilation, and has a filesystem cache for fast rebuilds even after a restart.Parcel has out of the box support for JS, CSS, HTML, file assets, and more – no plugins needed.https://github.com/parcel-bundler/parcel Webpack is hard to use because it’s configuration …

Improve querying speed in MongoDB

DB query speed is slowed down mainly when converting fetched data to MongoDB model format.For example we fetch JSON format data from db and convert it to MongoDB model format by embedding model methods.In order to avoid this and improve querying speed we can use lean function.The format is model.find({…}).lean(), then the result is retrieved …

Node schedule

Node Schedule is a flexible cron-like and not-cron-like job scheduler for Node.js. It allows you to schedule jobs (arbitrary functions) for execution at specific dates, with optional recurrence rules. It only uses a single timer at any given time (rather than reevaluating upcoming jobs every second/minute).https://github.com/node-schedule/node-schedule