ESLint Plugin for Node.js `node:` Protocol Imports

JSON →
library 1.2.0 ·javascript
verified May 27, 2026

`eslint-plugin-node-import` is an ESLint plugin designed to enforce the use of the `node:` protocol prefix for built-in Node.js modules, a best practice introduced in Node.js v14 to disambiguate bare module specifiers from npm packages. The current stable version is v1.2.0, which notably introduced TypeScript typings and improved support for ESLint's new flat configuration system (`eslint.config.js`). This plugin offers a singular, focused rule, `prefer-node-protocol`, providing a dedicated solution for this specific coding standard, unlike broader linting plugins that might bundle this rule among many others. It maintains an active development cadence, with several releases over the past year addressing compatibility with newer Node.js versions (up to v23.5.0+) and adding features like flat config support.

total hits 21
actors 7 distinct systems
last hit 19h ago human
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
1

top countries 🇫🇷 France · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany