Registry / devops / css-transpiler

css-transpiler

JSON →
library1.0.16jsnpmunverified

A lightweight CLI tool that transpiles .scss files to .css in-place within the src directory. Version 1.0.16 is the latest stable release. It runs as a daemon watching for changes and automatically regenerates CSS. Unlike full-featured build tools like Webpack or Gulp, it operates as a simple CLI command with no JavaScript API or plugin system. Best used as a development dependency for straightforward SCSS compilation without build pipeline integration.

npm install css-transpiler
INSTALL
IMPORT
SIG · CSS-TRANSPILER
C
css-transpiler
devopsjavascriptv1.0.16
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

transpile
npx transpile
require('css-transpiler')
The package has no exports; it's a CLI tool only. Use npx or npm exec to run the command.

Installs the package and starts the transpiler daemon, which watches src directory for .scss changes and outputs .css files in the same location.

mkdir -p src/components && echo '$color: red; h1 { color: $color; }' > src/components/app.scss && npm install css-transpiler --save-dev && npx transpile
css-transpiler --version
Debug
Known issues
gotchaThe package expects a 'src' directory at the project root. Files outside src/ are ignored.
fix
Ensure all .scss files are inside a src/ folder (or create it).
affects: >=1.0.0
gotchaThe transpiler overwrites .css files without warning. If you have custom .css edits, they will be lost.
fix
Keep custom .css files in a separate directory outside src/.
affects: >=1.0.0
Errors
Common errors & fixes
-bash: transpile: command not found
The package is not installed or not in PATH.
fix
Run 'npm install css-transpiler --save-dev' and use 'npx transpile' instead of bare 'transpile'.
Error: src folder not found. Please create a src folder in your project root.
The package requires a 'src' directory at project root.
fix
Create a src/ directory in your project root and move .scss files there.
Upgrade
Version history
1.0.16latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
css-transpiler — npm install css-transpiler · libregistry