Converting library SASS to CSS
Last updated 2 months ago by ezze .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @geoapps/sass2css 
SYNC missed versions from official npm registry.


This tool is created to convert input SASS file to output CSS file with proper importer function allowing to use ~ in imported modules' names.


npm install @geoapps/sass2css --dev
yarn add @geoapps/sass2css --dev


  • CLI:

    sass2css --base-path /path/to/project/root/dir
  • Programmatic:

    const sass2css = require('@geoapps/sass2css');
      basePath: '/path/to/project/root/dir'


Here is a list of all available options for CLI (programmatic) usage:

  • --base-path (basePath) Path of base directory to resolve everything to (default is . meaning directory of CLI execution, usually it's a root directory of repository).
  • --input-dir-name (inputDirName) Relative path to input directory (default is src/sass).
  • --input-file-name (inputFileName) Name of input SASS file (default is index.sass).
  • --input-img-dir-name (inputImgDirName) Relative path to directory with source images (default is src/img).
  • --output-dir-name (outputDirName) Relative path to output directory (default is dist/css).
  • --output-img-dir-name (outputImgDirName) Relative path to output directory for images (default is dist/img).
  • --modes (modes) Output modes (default is ['development', 'production']).


List of code changes for each version is available.

Current Tags

  • 0.2.0                                ...           latest (2 months ago)

2 Versions

  • 0.2.0                                ...           2 months ago
  • 0.1.0                                ...           2 months ago
Maintainers (1)
Today 0
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 40
Dependencies (6)
Dev Dependencies (2)
Dependents (0)

Copyright 2014 - 2017 © taobao.org |