Node API Compatibility List
Deno provides polyfills for a number of built-in Node.js modules and globals. Node compatibility is an ongoing project - help us identify gaps and let us know which modules you need by opening an issue on GitHub.
Built-in module support
✅ = Full support ℹ️ = Partial support ❌ = Stubs only
node:assert
, node:assert/strict
✅
node:async_hooks
ℹ️
node:buffer
✅
node:child_process
ℹ️
node:cluster
❌
node:console
✅
node:crypto
ℹ️
node:dgram
✅
node:diagnostics_channel
✅
node:dns
ℹ️
node:domain
❌
node:events
✅
node:fs
, node:fs/promises
ℹ️
node:http
ℹ️
node:http2
ℹ️
node:https
ℹ️
node:inspector
ℹ️
node:module
✅
node:net
ℹ️
node:os
✅
node:path
✅
node:perf_hooks
ℹ️
node:punycode
✅
node:process
ℹ️
node:querystring
✅
node:readline
✅
node:repl
ℹ️
node:stream
, node:stream/consumers
, node:stream/promises
, node:stream/web
✅
node:string_decoder
ℹ️
node:sys
✅
node:test
ℹ️
node:timers
, node:timers/promises
✅
node:tls
ℹ️
node:trace_events
❌
node:tty
ℹ️
node:util
✅
node:url
✅
node:v8
ℹ️
node:vm
ℹ️
node:wasi
❌
node:worker_threads
ℹ️
node:zlib
ℹ️
Globals
This is the list of Node globals that Deno supports. These globals are only
available in the npm
package scope. In your own code you can use them by
importing them from the relevant node:
module.