1.0.9 • Published 6 years ago

iyml v1.0.9

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

iyml

Node

To include yml in Node, first install with npm.

$ npm install iyml

How to use

Add in your package.json the following line to run the script

$ node node_modules/iyml/index.js <path> <dest>
{
  "name": "example",
  "version": "1.0.0",
  "description": "",
  "scripts": {
    "iyml": "node node_modules/iyml/index.js example/example.yml example/modules.yml"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "iyml": "^1.0.3"
  }
}

Example

category.yml

category:
  name: Category

user.yml

user:
  name: User

Main file example.yml

include: user.yml
include: category.yml

Run iyml

$ npm run iyml

Output File modules.yml

user:
  name: User
category:
  name: Category
1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago