Skip to content
Guest
← All References
Node.js Node.js 20 LTS+

Node.js 20 Quick Reference

Essential Node.js 20 built-in modules: node:fs/promises, node:path, node:http, node:crypto, and process.env.

const raw = await fs.readFile('data.json', 'utf8');

Core Built-In Modules

ModulePurposeExample
node:fs/promisesAsync file I/Oawait fs.readFile("a.txt", "utf8")
node:pathCross-platform pathspath.join(__dirname, "dist")
node:httpNative HTTP serverhttp.createServer((req, res) => ...)
node:cryptoHashing & secure tokenscrypto.randomUUID() / createHash("sha256")
process.envRuntime env configurationNumber(process.env.PORT ?? 3000)

Search courses, lessons, and references

Type to search across all courses, lessons, and quick references.

Press Esc to close Powered by Pagefind