mwelwankuta / merlee.js

🚀 minimalist web framework for Node.js
https://npmjs.com/package/merlee.js
MIT License
12 stars 4 forks source link

Update README.md and DOCUMENTATION.md Code Snippets to use Module Style Imports #8

Closed mwelwankuta closed 5 months ago

mwelwankuta commented 5 months ago

Issue:

The code snippets in our README.md and DOCUMENTATION.md files currently utilize CommonJS style imports, which are outdated. To align with modern JavaScript practices, we need to update these code snippets to use module style imports.

Solution:

Review the README.md and DOCUMENTATION.md files to identify code snippets using CommonJS style imports. Update these code snippets to utilize module style imports. Ensure the updated code snippets accurately reflect modern JavaScript practices and make it easier to and are easy to understand and add support to the codebase for typescript. .

Test the changes to ensure correctness and readability.