0.1.13 • Published 4 years ago

@smarterlabs/omni-plugin-yaml v0.1.13

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Omni Yaml Plugin

A plugin that allows you to use yaml config blocks in Omni-Directional Documents.

Installation

npm install @smarterlabs/omni-plugin-yaml --save

or

yarn add @smarterlabs/omni-plugin-yaml

Usage

import Omni  from '@smarterlabs/omni'
import omniYaml from '@smarterlabs/omni-plugin-yaml'

const omni = new Omni({
	input: `src`,
  output: `dist`,
  plugins: [
    omniYaml(),
  ],
})

omni.watch()

Example