https://github.com/aduth/sass-embedded-cli
Command-line interface for sass-embedded
https://github.com/aduth/sass-embedded-cli
Last synced: 3 months ago
JSON representation
Command-line interface for sass-embedded
- Host: GitHub
- URL: https://github.com/aduth/sass-embedded-cli
- Owner: aduth
- License: mit
- Created: 2022-03-24T00:46:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-05T16:16:52.000Z (about 1 year ago)
- Last Synced: 2025-10-04T21:22:20.076Z (8 months ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
> [!WARNING]
> The `sass-embedded` package now includes a CLI wrapper for the Dart Sass executable. As such, this package is deprecated and will not receive updates. You are recommended to use `sass-embedded` instead.
# sass-embedded-cli
Command-line interface for [`sass-embedded`](https://github.com/sass/embedded-host-node) which can be used as a ([mostly](#usage)) drop-in replacement for [`node-sass`](https://github.com/sass/node-sass).
## Installation
Install using `npm`. `sass-embedded` is a peer dependency and must be installed, if not already.
```
npm install sass-embedded-cli sass-embedded
```
## Usage
Usage should match [`node-sass` command-line usage](https://github.com/sass/node-sass#command-line-interface).
Note that `sass-embedded` is not fully compatible with `node-sass`, as it is based on the Dart implementation. In particular, this affects the default `--output-style`, which must be specified as one of the [valid Dart Sass styles](https://sass-lang.com/documentation/cli/dart-sass#style) (`expanded` or `compressed`).
```
node-sass styles.scss --output-style compressed
```
For a complete set of differences, refer to the [Dart Sass "Legacy JavaScript API" documentation](https://github.com/sass/dart-sass#legacy-javascript-api).
## License
Copyright 2022 Andrew Duthie
Released under the MIT License. See [LICENSE.md](./LICENSE.md).