@ruslanuz/sass-convert
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Sass/scss files converter for node.js

A small utility for converting sass files to scss or scss files to sass with node.js.

The implementation based on the code from the sass-scss-converter repository

Installation and Usage

Installation

Npm

npm i @ruslanuz/sass-convert

Yarn

yarn add @ruslanuz/sass-convert

Pnpm

pnpm add @ruslanuz/sass-convert

Usage

const { convert } = require('@ruslanuz/sass-convert');

// Convert all sass files in src folder including subfolders the to scss

convert('./src/**/*.sass', { syntax: 'scss' });

// Convert index.scss file from scss to sass

convert('./style/index.scss', {syntax: 'sass'});

Readme

Keywords

Package Sidebar

Install

npm i @ruslanuz/sass-convert

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

9.81 kB

Total Files

7

Last publish

Collaborators

  • ruslanuz