Need advice about which tool to choose?Ask the StackShare community!

node-sass

87
140
+ 1
0
Sass

37.6K
28.8K
+ 1
3K
Add tool

node-sass vs Sass: What are the differences?

What is node-sass? *Node.js bindings to libsass *. It is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass It allows you to natively compile .scss files to css at incredible speed and automatically via a connect middleware..

What is Sass? Syntactically Awesome Style Sheets. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. It's translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.

node-sass and Sass can be categorized as "CSS Pre-processors / Extensions" tools.

node-sass and Sass are both open source tools. It seems that Sass with 12K GitHub stars and 1.93K forks on GitHub has more adoption than node-sass with 6.49K GitHub stars and 949 GitHub forks.

Advice on node-sass and Sass
awesomebanana2018
Needs advice
on
PostCSSPostCSSSassSass
and
StylusStylus

Originally, I was going to start using Sass with Parcel, but then I learned about Stylus, which looked interesting because it can get the property values of something directly instead of through variables, and PostCSS, which looked interesting because you can customize your Pre/Post-processing. Which tool would you recommend?

See more
Replies (2)
Recommends
on
PostCSSPostCSS

You're not correct with saying "vs Postcss". You're using Less/Sass/Stylus/... to produce "CSS" (maybe extended means it has some future features) and then in any case PostCSS will play (it is shipped with Parcel/NextJS/CRA/...)

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of node-sass
Pros of Sass
    Be the first to leave a pro
    • 613
      Variables
    • 593
      Mixins
    • 466
      Nested rules
    • 410
      Maintainable
    • 299
      Functions
    • 149
      Modular flexible code
    • 143
      Open source
    • 112
      Selector inheritance
    • 107
      Dynamic
    • 96
      Better than cs
    • 5
      Used by Bootstrap
    • 3
      If and for function
    • 2
      Better than less
    • 1
      Inheritance (@extend)
    • 1
      Custom functions

    Sign up to add or upvote prosMake informed product decisions

    Cons of node-sass
    Cons of Sass
    • 1
      Needs Microsoft BuildTools and Python 2.7 to install
    • 6
      Needs to be compiled

    Sign up to add or upvote consMake informed product decisions

    What is node-sass?

    It is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass. It allows you to natively compile .scss files to css at incredible speed and automatically via a connect middleware.

    What is Sass?

    Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. It's translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.

    Need advice about which tool to choose?Ask the StackShare community!

    Jobs that mention node-sass and Sass as a desired skillset
    CBRE
    United States of America Massachusetts Boston
    What companies use node-sass?
    What companies use Sass?
    See which teams inside your own company are using node-sass or Sass.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with node-sass?
    What tools integrate with Sass?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to node-sass and Sass?
    Webpack
    A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
    PostCSS
    PostCSS is a tool for transforming CSS with JS plugins. These plugins can support variables and mixins, transpile future CSS syntax, inline images, and more.
    Compass
    The compass core framework is a design-agnostic framework that provides common code that would otherwise be duplicated across other frameworks and extensions.
    Animate.css
    It is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.
    Less
    Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable.
    See all alternatives