# @triarius/pipeline-schema

> Buildkite Pipeline Schema

Latest version **0.1.0** (published 2022-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @triarius/pipeline-schema
pnpm add @triarius/pipeline-schema
yarn add @triarius/pipeline-schema
bun add @triarius/pipeline-schema
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-11-20 |
| First published | 2022-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 109 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | triarius |

## Links

- npm: https://www.npmjs.com/package/@triarius/pipeline-schema
- Repository: https://github.com/triarius/pipeline-schema
- Homepage: https://github.com/triarius/pipeline-schema#readme
- Issues: https://github.com/triarius/pipeline-schema/issues
- npm.io page: https://npm.io/package/@triarius/pipeline-schema

## Recent versions

- 0.1.0 (latest) — 2022-11-20

## README

Buildkite Pipeline Schema
===

WARNING: This is experimental and may not work as expected

Typescript Schema for buildkite generated from https://github.com/buildkite/pipeline-schema


```typescript
import { Pipeline, isPipeline } from  "@triarius/pipeline-schema";

# you can read this from the filesystem
const pipeline: Pipeline = `
steps:
  - name: hello_world
    command: echo Hello, World!
`;

# and check the pipeline is valid here
if (!isPipeline(pipeline)) {
  throw new Error("not a pipeline");
}
```

---
_Source: https://npm.io/package/@triarius/pipeline-schema · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
