Catalog npm
Back to packageRELEASE DETAILS

0.2.1

npm

@0disoft/mensor-contract

Serializable contracts, schemas, and deterministic diagnostics for Mensor.

contractsdeveloper-toolsdiagnosticsjson-schemamensor
Published9 Aug 2026
Direct dependencies2
Transitive dependenciesNot calculated

README

Current package documentation

@0disoft/mensor-contract

Serializable contracts, schemas, and deterministic diagnostics for Mensor.

Install

pnpm add @0disoft/mensor-contract

Node.js 22 or newer is required.

Parse Contracts And Reports

import {
  parseCheckOutputV2,
  parseProjectContract,
  parseRouteIndex,
  parseRuntimeManifest,
  serializeRouteIndex,
  serializeRuntimeManifest,
} from "@0disoft/mensor-contract";

Parsers return explicit success or failure values. The package contains no filesystem scanner or application runtime.

Published schemas are available through package export paths, including:

const projectSchema = import.meta.resolve(
  "@0disoft/mensor-contract/schemas/project-contract-v1.schema.json",
);
const checkOutputSchema = import.meta.resolve(
  "@0disoft/mensor-contract/schemas/check-output-v2.schema.json",
);
const runtimeManifestSchema = import.meta.resolve(
  "@0disoft/mensor-contract/schemas/runtime-manifest-v1.schema.json",
);

Documentation

Mensor is licensed under Apache-2.0.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ajv
Environment
{
  "local_name": "ajv",
  "alias": false,
  "peer_metadata": null
}
8.20.0runtime
jsonc-parser
Environment
{
  "local_name": "jsonc-parser",
  "alias": false,
  "peer_metadata": null
}
3.3.1runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "b6b3d4e2548ed5cdc44a738b97785b3880d49c3b",
  "tarball": "https://registry.npmjs.org/@0disoft/mensor-contract/-/mensor-contract-0.2.1.tgz",
  "fileCount": 32,
  "integrity": "sha512-AN743s3YkTPQYsyoSLY19SEU6+i8r0IKw2HY+/QwY6oxg/G6hTNW9y1k+LNm2wBUwQD8gQ8S+dipxFVdozGaRA==",
  "signatures": [
    {
      "sig": "MEYCIQDbD5vBRufws0VNd20q6YMrwHOmTWFIHAPQZ+J5rqfcNwIhAI17PQwnlzI3kXBXcucqAkwx61NYMDG3D/fA7qn7LrGV",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0disoft%2fmensor-contract@0.2.1",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 131355
}

Repository

PENDING
0disoft/mensor

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:09 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:29a3b3b531176d45c6b964ef716e89684f7f5cd2fc309f8de5539988ee61ba31

Other collected versions

0.10.212 Sept0.10.111 Sept0.10.010 Sept0.9.01 Sept0.2.022 Jul0.1.020 JulView all collected versions →