Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score100%
Publisheda year ago (0.2.12)

A JavaScript and TypeScript library to compose YAML files into a single file.

Yaml Compose (@m3o/yaml-compose)

A JavaScript and TypeScript library to compose YAML files into a single file.

This is compatible with Node.js, Deno and Bun via jsr.io.

Usage

# run deno form jsr
deno run jsr:@m3o/yaml-compose

# with node
npx jsr add @m3o/yaml-compose

# with bun
bux jsr add @m3o/yaml-compose

Examples

Example 1

deno run --allow-read --allow-write main.ts ./folder ./output.yaml
Built and signed on
GitHub Actions

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@m3o/yaml-compose

Import symbol

import * as yaml_compose from "@m3o/yaml-compose";
or

Import directly with a jsr specifier

import * as yaml_compose from "jsr:@m3o/yaml-compose";

Add Package

pnpm i jsr:@m3o/yaml-compose
or (using pnpm 10.8 or older)
pnpm dlx jsr add @m3o/yaml-compose

Import symbol

import * as yaml_compose from "@m3o/yaml-compose";

Add Package

yarn add jsr:@m3o/yaml-compose
or (using Yarn 4.8 or older)
yarn dlx jsr add @m3o/yaml-compose

Import symbol

import * as yaml_compose from "@m3o/yaml-compose";

Add Package

vlt install jsr:@m3o/yaml-compose

Import symbol

import * as yaml_compose from "@m3o/yaml-compose";

Add Package

npx jsr add @m3o/yaml-compose

Import symbol

import * as yaml_compose from "@m3o/yaml-compose";

Add Package

bunx jsr add @m3o/yaml-compose

Import symbol

import * as yaml_compose from "@m3o/yaml-compose";