Organizing my Node.js imports

  • by

For structuring, all my imports have the following order:

// core imports
const http = require("http");
...
// third party imports
const express = require('express');
...
// self made imports
...

This is just my personal preference.