Node275 Documents

Bare Native Import

Import native Node.js modules without the node: protocol.

Correct

import fs from 'fs'
import { readFile } from 'fs'

Incorrect

import fs from 'node:fs'

Fix

Remove the node: protocol from native Node.js import specifiers.