Skip to content

v1.0.0 - First Stable Release

Choose a tag to compare

@saifulapm saifulapm released this 14 Dec 10:09
· 4 commits to main since this release

Emmet CLI v1.0.0

First stable release of Emmet CLI - a powerful command-line interface for Emmet abbreviation expansion.

Features

  • Full VSCode Emmet Support: All filters (BEM, comment, trim), wrapping, custom snippets, and configuration options
  • 15+ Languages: HTML, CSS, JSX, Vue, SCSS, LESS, Sass, Pug, HAML, Slim, and more
  • Flexible Configuration: Load custom snippets, variables, and syntax profiles from .emmet/ directory
  • Standard I/O: Read from stdin, write to stdout for easy piping and integration
  • CLI Variable Overrides: Use --var-* flags to override template variables
  • Subcommands: expand, wrap, extract, and validate

Installation

npm install -g @saifulapm/emmet-cli

Quick Start

# Expand HTML abbreviation
emmet expand "ul>li*3" --syntax html

# CSS abbreviation
emmet expand "m10+p5" --syntax css

# With filters
emmet expand "div#app>header.header" --syntax html --filter c

Testing

All 69 tests passing ✅

Documentation

See README.md for full documentation.