Socket
Book a DemoInstallSign in
Socket

@evolv-delivery/yml-min

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evolv-delivery/yml-min

Post processing for Evolv AI YAML files

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
0
Created
Source

yml-min

A CLI tool for minifying Evolv AI metamodel YAML files.

Requirements

  • Node.js: Version 20 or higher required

Installation

Install globally to use the CLI from anywhere:

npm install -g @evolv-delivery/yml-min

Usage

yml-min [options] [input-files...]

Options

  • -w, --watch: Watch the indicated YML files and export on change
  • -s, --silent: Suppress logs
  • -d, --debug: Show debug output
  • -t, --target: Destination folder for minified YML (default: "./")

Examples

# Minify a single file
yml-min input.yml

# Minify multiple files
yml-min file1.yml file2.yml

# Watch mode with custom output directory
yml-min -w -t dist/ *.yml

# Minify all YML files in current directory
yml-min

# Show debug output
yml-min -d input.yml

Processing

The tool will:

  • Minify JavaScript in template literals
  • Optimize CSS with PostCSS
  • Sort media queries
  • Create minified output as *.min.yml

Development

# Clone the repository
git clone [repository-url]

# Install dependencies
npm install

# Link for local development
npm link

FAQs

Package last updated on 07 Jan 2025

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