v1.0.0 - First Stable 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, andvalidate
Installation
npm install -g @saifulapm/emmet-cliQuick 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 cTesting
All 69 tests passing ✅
Documentation
See README.md for full documentation.