sass-folder-converter

1.0.3 • Public • Published

Sass Folder Converter

Allows you to simply convert folders containing Sass files to CSS to another folder.

Installation

This is a Node.js module available through the NPM registry.

Use the following NPM command to install the package:

npm install sass-folder-converter

Exemple

const convertSass = require("sass-folder-converter");

Simply:

convertSass(__dirname + "/sass/", __dirname + "/css/");

Or custom...

convertSass(
    __dirname + "/sass/", // your Sass folder
    __dirname + "/css/", // the CSS destination folder
    "expanded", // optional, output style "compressed" or "expanded"
    true // optional, if true, this create the destination folder if it doesn't exist
);

Package Sidebar

Install

npm i sass-folder-converter

Weekly Downloads

5

Version

1.0.3

License

ISC

Unpacked Size

3.21 kB

Total Files

3

Last publish

Collaborators

  • bluzzi