UNPKG

@the-teacher/the-router

Version:

Simple router for Express.js, making routes and actions easy to manage.

10 lines (8 loc) 632 B
### Instructions for the AI 1. Always write comments to code in english. 2. Always try to use the most recent version of modules system (ESM) instead of CommonJS. 3. Always try to arrow functions instead of function declarations. 4. If there are more then 5 exports in the file, do export at the end of the file. 5. Things related to JEST configuration should be in `.eslintrc.cjs` file. Never put them in `package.json`. 6. Keep consistency in versions of Node.js, Module system, TypeScript, in configurations for ESLint, Jest, Prettier, build.mjs and package.json. 7. TypeScript. Always prefer using types instead of interfaces.