Current collected state Current
Observed since 20 Oct, 22:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0disoft/mensor-contract
Serializable contracts, schemas, and deterministic diagnostics for Mensor.
Serializable contracts, schemas, and deterministic diagnostics for Mensor.
pnpm add @0disoft/mensor-contract
Node.js 22 or newer is required.
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",
);
Mensor is licensed under Apache-2.0.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
ajvEnvironment{
"local_name": "ajv",
"alias": false,
"peer_metadata": null
} | 8.20.0 | runtime |
jsonc-parserEnvironment{
"local_name": "jsonc-parser",
"alias": false,
"peer_metadata": null
} | 3.3.1 | runtime |
Source distribution
{
"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
}Observed since 20 Oct, 22:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:29a3b3b531176d45c6b964ef716e89684f7f5cd2fc309f8de5539988ee61ba31