Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions references/functions-typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,13 @@ Not all Node.js APIs are available. What works:

- `console.log` / `console.info` — fully supported, output visible in Satellite logs and Console UI
- `Math.random()` — supported but seeded once after upgrade, not suitable for lotteries or unpredictable randomness
- `Blob` — immutable raw binary data
- `URL` / `URLSearchParams` — URL parsing and manipulation

No `fs`, `http`, `crypto` from Node, and many npm packages that rely on those will not work. Missing polyfills are added iteratively — open an issue if you're blocked.

> For HTTP calls (`fetch`), use `httpRequest` from `@junobuild/functions/ic-cdk` instead.

---

## Limitations
Expand Down