Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sugarss

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sugarss

Indent-based CSS syntax for PostCSS

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
830K
decreased by-43.33%
Maintainers
1
Weekly downloads
 
Created

What is sugarss?

SugarSS is a syntax parser for PostCSS that allows you to write your CSS in a more minimalistic and readable format, similar to Sass or Stylus. It simplifies the CSS syntax by removing braces, semicolons, and enabling indentation-based scoping.

What are sugarss's main functionalities?

Indentation-based Syntax

SugarSS allows you to write CSS rules using indentation instead of braces, making the CSS more readable and concise.

.one
  color: blue
  .two
    color: red

Semicolon-free

You can omit semicolons in SugarSS, simplifying the syntax further and making it cleaner.

.example
  background: white
  color: black

Compatibility with PostCSS

SugarSS is compatible with PostCSS, allowing you to use it alongside a wide range of PostCSS plugins for added functionality.

postcss([ require('sugarss') ]).process(css, { parser: 'sugarss' })

Other packages similar to sugarss

Keywords

FAQs

Package last updated on 05 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc