module.exports tech bite
Software DevelopmentTech Bites
August 21, 2019

module.exports

module.exports module.exports is an empty object and a property on the module object. Module  is a special object in NodeJS which contains information about the current module. The exports property is used to expose properties or functions of the current module. Use require to import properties from some module. // file.js…
Express Middleware & Memoization tech bite
Software DevelopmentTech Bites
August 6, 2019

Express Middleware & Memoization

Express middleware Middleware functions are functions that have access to the request object (req ), the response object (res ), and the next function in the Express application’s request-response cycle. The next function is a function in the Express router which, when invoked, executes the middleware succeeding the current middleware in…
Bootstrap partial Sass & ESLint tech bite
Software DevelopmentTech Bites
July 9, 2019

Bootstrap partial Sass & ESLint

Bootstrap partial Sass Bootstrap is a component-based library for developing web UI. Not all components are used when developing frontend with Bootstrap. In order to minimize the number of unused styles in a project, create a single sass file with custom imports of bootstrap components. Start with adding bootstrap as…