Functionality to move NodeJS builtin modules to the top
See original GitHub issueHi there, thanks for this package, really cool! Will consider recommending it to our bootcamp students at @upleveled.
One suggestion that came to mind would be to make it the default sort order to sort imports using the new node: scheme / prefix to the top. What do you think?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
CommonJS modules | Node.js v19.3.0 Documentation
CommonJS modules are the original way to package JavaScript code for Node.js. Node.js also supports the ECMAScript modules standard used by browsers and ......
Read more >Node.js Built-in Modules - W3Schools
Node.js has a set of built-in modules which you can use without any further installation. Here is a list of the built-in modules...
Read more >Using ES modules in Node.js - LogRocket Blog
Modules enable code organization by splitting a codebase into reusable components such that each performs individual functions and can be ...
Read more >CommonJS vs. ES Modules: Modules and Imports in NodeJS
Without writing or installing any module, you can just start by importing any of NodeJS's built-in modules: const http = require("http"); const ...
Read more >Node.js Modules - TutorialsTeacher
Module in Node.js is a simple or complex functionality organized in a single or multiple JavaScript files which can be reused throughout your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Nice, thanks for the reply!
Would suggest using the following replacements for the naming:
builtininstead ofinbuiltToTopinstead ofAtTopNodeinstead ofNodeJSeg.
sortNodeBuiltinModulesToTopHowdy! I’ve picked this up and a PR will be incoming momentarily.