New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

iyml

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iyml

Extensión yml

latest
Source
npmnpm
Version
1.0.9
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 22 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts