@smarterlabs/omni-plugin-json

0.0.2 • Public • Published

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


```json config
{
	"interpolate": {
		"_scope_": "scope-name"
	}
}
```

/@smarterlabs/omni-plugin-json/

    Package Sidebar

    Install

    npm i @smarterlabs/omni-plugin-json

    Weekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    4.88 kB

    Total Files

    4

    Last publish

    Collaborators

    • ken85rose