The file and wire formats of commons, read and written in pure code: JSON5, YAML, TOML, XML, CSV, base64, hexadecimal, ASN.1 DER, CBOR, tar, gzip and zip archives, PNG and ICO pictures, TypeScript literals, glob patterns, semantic versions, media types and HTTP headers; one dependency, core.
| Fact | Value |
|---|
| Version | 0.2.3 |
| 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/formats |
#Areas
Formatssrc/mod.ts, src/archive.ts, src/base64.ts, src/cbor.ts, src/csv.ts, src/der.ts, src/glob.ts, src/hex.ts, src/http.ts, src/json5.ts, src/media-types.ts, src/png.ts, src/semver.ts, src/toml.ts, src/ts-literal.ts, src/xml.ts, src/xz.ts, src/yaml.ts #Imports
Core
#Imported by
AnyFS, AnyFS Git hosts, AnyFS S3, Archon dialect: native-pinned, Assessment, Crypto, Ergonex, Estate Endpoints, Estate Iac, Findings, Kanon, Libraries, Lint, Mizan, Net, Planning, Quality, System, Telemetry
#Specifications
| Number | Specification | Requirements |
|---|
0001 | Formats | 23 |
#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 one entry of the package. | src/ only |
suite/ | The tests: examples and fast-check properties for every law and round trip, and the type-level tests. | 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 |
#Quality
Quality: 92 tests: 92 passed, 0 failed, 0 skipped, 21 of 23 requirements proved, 0 open issues, 0 open tickets. The tests and issues of the library