DeepSeek open-sources dsh-node-addon-require-builtin, a Node-API addon for accessing Node.js internal builtins
DeepSeek released dsh-node-addon-require-builtin, an open-source Node-API addon that exposes Node.js's internal requireBuiltin() without --expose-internals. It publishes prebuilt napi-v9 binaries for Node 20, 22, 24, and 26 across macOS, Linux, and Windows, and is MIT-licensed.
China context
- Original name
- 深度求索
- Outside China
- Open weights · github.com
- Claims
- Company-reported; not yet independently evaluated
- For builders
- Developers outside China can install the prebuilt binaries from npm for supported platforms and Node versions, and use the addon to access Node.js internal modules without --expose-internals.
- For investors
- This release indicates DeepSeek's continued investment in developer tooling and open-source contributions, which may strengthen its ecosystem and developer mindshare.
Translated from Chinese. Quotes and facts link to the original sources.
DeepSeek published a new open-source repository, dsh-node-addon-require-builtin, containing Node-API addons that obtain Node's internal requireBuiltin() without starting Node with --expose-internals. The repository includes two product families: node-addon-internal-loader, which restricts access to CJS/ESM loader internals, and node-addon-require-builtin, which allows unrestricted internal builtin loading. Both entry packages expose the same API: requireBuiltin(moduleId), isAllowedInternalId(moduleId), and getBindingInfo(). The addons are loaded through a stable N-API v9 entry point and validate runtime invariants, failing closed if the runtime does not match. Prebuilt binaries are published for Node 20, 22, 24, and 26 on macOS arm64/x64, Linux glibc/musl arm64/x64, and Windows arm64/ia32/x64 (ia32 only for Node 20/22). Electron 43.0.0, 44.0.0, 44.7.0, and 45.0.0-alpha.6 are also tested. The repository is licensed under MIT.
The addon uses a stable N-API v9 entry point but probes private Node/V8 runtime state, validating invariants at runtime and failing closed if they do not match. It provides a backend dimension (napi vs nodeabi) and a product dimension (internal-loader vs require-builtin). The napi backend builds one napi-v9 binary per platform/arch and discovers private state at runtime; the nodeabi backend is used for source-build validation only. Installation fails closed if no compatible optional prebuild is available, rather than compiling an unvalidated local binary.
Developers who need to access Node.js internal modules without using --expose-internals can now use DeepSeek's MIT-licensed addon, reducing the risk of relying on undocumented APIs by providing prebuilt, CI-validated binaries for common platforms and Node versions.
This open-source release provides a utility for developers working with Node.js internals, potentially useful for tooling, debugging, or performance analysis. It does not directly generate revenue but may enhance DeepSeek's developer ecosystem presence.
The repository's support matrix is conservative, covering Node 20-26 and specific Electron versions. Future expansion may add more platforms or Electron versions, but the project explicitly fails closed for untested runtimes. Watch for updates to the support matrix or new product families.