Net
The network as one typed library, the same on Bun and Node 26 and on Windows, macOS and Linux: a download that classifies a failure, retries and resumes and keeps a file only when its SHA-256 is the expected one (net), an HTTP server over web Request and Response (serve), typed HTTP clients with a live or recorded transport, a read-only guard and AWS signing (http-client), TCP and TLS listeners and connections (tcp), DNS records as Results (dns), and ACME certificates by the DNS-01 challenge (acme). It depends on core, formats, crypto, system and telemetry, which traces its requests and its server. Published to npm as compiled modules with their declarations.
| Fact | Value |
|---|---|
| Version | 0.2.7 |
| Conformance level | L1 |
| Distributed | github, npm |
| License | PolyForm-Noncommercial-1.0.0, source-available: free for noncommercial use, commercial use needs a license from the owner (see Licensing in Start here) |
| Import it as | @intellectual-frontiers/net |
Areas
Imports
Core, Crypto, Formats, System, Telemetry
Imported by
AnyFS Git hosts, AnyFS Serve, Archon dialect: native-pinned, Ergonex, Githost, Integrations, Lab, Libraries, Repoctl
Specifications
| Number | Specification | Requirements |
|---|---|---|
0001 | Net | 17 |
Folders
| Folder | What it is | May import |
|---|---|---|
spec-kit/ | The library's own specifications, numbered from 0001. | nothing: Markdown and TSV |
src/ | The modules, and mod.ts, the entry that names them as namespaces. | node: builtins; src/; core, formats, crypto, system and telemetry, by package name |
suite/ | The tests: servers the tests start, real sockets and temporary folders, recorded exchanges, the retries and the refusals, and the signals that the client and the server make. | src/; fast-check; the test module of commons' runtime, by package name |
tools/ | The trace check and the packer bun run verify runs. | the kernel, the runtime and the packer of commons, by package name |