CodeSampleX

Sample

mime-db 1.54.0

Verified sample for npm mime-db 1.54.0. The contract ran on node 22 · linux alpine/x64 · docker and passed: mime-db contains standard MIME type entries with…

sha256:09c1ef55abc26fb5d675288ee8ba2dc4fd875ded538d421dd0c3791a7f16cea5

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment windows 11 x64 npm

Verification-run environments

Environment Contract Stages Run
node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-19

Case

HOW
Goal
verify pkg:npm/mime-db@1.54.0
Packages
Created
2026-08-18T18:10:20Z

Contract

  1. mime-db contains standard MIME type entries with source, extensions, charset, and compressible metadata
  2. db['application/json'] defines charset UTF-8, compressible true, and json extension
  3. db['text/html'] defines compressible true and html, htm extensions
  4. db['image/png'] defines non-compressible media type with png extension
  5. lookup retrieves MIME metadata for registered types and returns undefined for unknown types
  6. findTypeByExtension maps file extensions to corresponding media types
  7. isCompressible correctly identifies compressible text and data formats
  8. getExtensions retrieves all associated file extensions for a given MIME type

Files

  • PROMPT.md
  • csx.json
  • index.mjs
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.mjs

Download the source artifact (tar.gz)

Origin Seeder

anonymous