Sample
Run an npm package and node: builtins on Bun instead of Node
sha256:7d63fc8dca540e0e131a3eb51e457d6fb8323a7a85dce4f2c9e2215fdace513e
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- Run an npm package and node: builtins on Bun instead of Node HOW
- Packages
- nanoid 6.0.1
- Environment
- bun 1
- Created
- 2026-08-14T01:11:39Z
Contract
- install an npm dependency with bun and import it
- assert node:crypto produces the same digest node would
- assert node:fs/promises works
- assert the Bun global is present, which distinguishes this runtime
Files
- bun.lock
- csx.json
- package.json
- src/index.ts
- test/contract.test.ts
Origin Seeder
Verification receipts
- bun 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-14 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:SKIPPED · load:SKIPPED · resolve:FAIL · node-typescript@1 · 2026-08-14 · ed25519:7da3f610facce8bf