An open API service indexing awesome lists of open source software.

https://github.com/gluons/joycon-yaml-loader

A YAML loader for JoyCon.
https://github.com/gluons/joycon-yaml-loader

joycon joycon-loader yaml yml

Last synced: about 1 year ago
JSON representation

A YAML loader for JoyCon.

Awesome Lists containing this project

README

          

# joycon-yaml-loader
[![GitHub](https://img.shields.io/github/license/gluons/joycon-yaml-loader.svg?style=flat-square)](./LICENSE)
[![npm](https://img.shields.io/npm/v/joycon-yaml-loader.svg?style=flat-square)](https://www.npmjs.com/package/joycon-yaml-loader)
[![Travis (.com)](https://img.shields.io/travis/com/gluons/joycon-yaml-loader.svg?style=flat-square)](https://travis-ci.com/gluons/joycon-yaml-loader)

A [YAML](http://yaml.org/) loader for [JoyCon](https://github.com/egoist/joycon).

## Installation

```bash
npm install joycon-yaml-loader
# or #
yarn add joycon-yaml-loader
```

## Usage

```js
const JoyCon = require('joycon');
const JoyConYAMLLoader = require('joycon-yaml-loader');

const joycon = new JoyCon();
joycon.addLoader(JoyConYAMLLoader);

joycon.load([/* file... */]);
```