> ## Documentation Index
> Fetch the complete documentation index at: https://openlinear.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Library Overview

> The openlinear npm package — CLI launcher and TypeScript utility library.

```bash theme={null}
npm install openlinear
```

Current version: **0.1.38**

***

## Entry Points

| Import | Contents |
| - | - |
| `openlinear` | Re-exports everything below |
| `openlinear/types` | Zod schemas, TypeScript types, and validation functions for execution metadata |
| `openlinear/validation` | Payload sanitization and forbidden-field enforcement |
| `openlinear/config` | Feature flag parsing and execution mode helpers |

All entry points support both ESM and CommonJS:

```typescript theme={null}
// ESM
import { validateExecutionMetadataSync } from 'openlinear/types';

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

***

## Package Exports

```json theme={null}
{
  ".": { "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](https://zod.dev) for schema validation.

***

## Sections

> [card] [Types](https://openlinear.mintlify.site/library/types)
>
> ExecutionMetadataSync schema and validation functions.

> [card] [Validation](https://openlinear.mintlify.site/library/validation)
>
> Forbidden fields and payload sanitization.

> [card] [Feature Flags](https://openlinear.mintlify.site/library/feature-flags)
>
> Execution mode control and rollout phases.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.