0.0.2 • Published 4 years ago

@smarterlabs/omni-plugin-json v0.0.2

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

Omni Yaml JSON

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

Installation

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

or

yarn add @smarterlabs/omni-plugin-json

Usage

import Omni  from '@smarterlabs/omni'
import omniJSON from '@smarterlabs/omni-plugin-json'

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

omni.watch()

Example