Skip to main content
npm install openlinear
Current version: 0.1.38

Entry Points

ImportContents
openlinearRe-exports everything below
openlinear/typesZod schemas, TypeScript types, and validation functions for execution metadata
openlinear/validationPayload sanitization and forbidden-field enforcement
openlinear/configFeature flag parsing and execution mode helpers
All entry points support both ESM and CommonJS:
// ESM
import { validateExecutionMetadataSync } from 'openlinear/types';

// CommonJS
const { validateExecutionMetadataSync } = require('openlinear/types');

Package Exports

{
  ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" },
  "./types": { "import": "./dist/types/index.js", "require": "./dist/types/index.cjs", "types": "./dist/types/index.d.ts" },
  "./validation": { "import": "./dist/validation/index.js", "require": "./dist/validation/index.cjs", "types": "./dist/validation/index.d.ts" },
  "./config": { "import": "./dist/config/index.js", "require": "./dist/config/index.cjs", "types": "./dist/config/index.d.ts" }
}

Dependencies

The library has a single runtime dependency: Zod for schema validation.

Sections

Types

ExecutionMetadataSync schema and validation functions.

Validation

Forbidden fields and payload sanitization.

Feature Flags

Execution mode control and rollout phases.