</>PackageGraphPackageGraph

sugarss

npmv5.0.1

Indent-based CSS syntax for PostCSS

Adopt with care

sugarss is usable, with caveats. Last published 406 days ago. 2 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 406 days ago. 2 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 94 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding sugarss to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

94 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=18.0
Module format
ESM + CommonJS
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the sugarss README.

a
  color: blue

.multiline,
.selector
  box-shadow: 1px 0 9px rgba(0, 0, 0, .4),
              1px 0 3px rgba(0, 0, 0, .6)

// Mobile
@media (max-width: 400px)
  .body
    padding: 0 10px

sugarss vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
sugarssthis page01MIT1 year ago
postcss249.3M7MIT1 day ago
css-tree05MIT1 day ago
esprima77.6M5BSD-2-Clause1 day ago
postcss-value-parser01MIT1 day ago
@csstools/css-parser-algorithms03MIT1 day ago

Dependencies

Declared by sugarss v5.0.1. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on sugarss.

Relationship graph

Dependencies (left) and dependents (right) of sugarss.

postcssvitesugarss
sugarss dependencies dependents

Frequently installed together

Release history

1 release in the last two years, typically about 40 days apart.

Recent versions of sugarss
VersionPublishedSizeLicense
5.0.1latest1 year ago94 KBMIT
5.0.01 year ago94 KBMIT
4.0.15 years ago348 KBMIT
4.0.05 years ago348 KBMIT
3.0.35 years ago34 KBMIT
3.0.25 years ago34 KBMIT
3.0.16 years ago34 KBMIT
3.0.06 years ago34 KBMIT
2.0.08 years ago109 KBMIT
1.0.18 years agoMIT
1.0.09 years agoMIT
0.2.010 years agoMIT
0.1.610 years agoMIT
0.1.510 years agoMIT
0.1.410 years agoMIT

Overview

sugarss is an npm package that indent-based CSS syntax for PostCSS. It has 1 known dependents in the graph. The latest version is 5.0.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need indent-based CSS syntax for PostCSS and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).
  • Lean dependency tree (1 direct dependencies).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use sugarss?

sugarss is usable, with caveats. Last published 406 days ago. 2 releases in the last 2 years.

How do I install sugarss?

Run `npm install sugarss` to add sugarss to your npm project.

What license is sugarss released under?

sugarss is distributed under the MIT license.

How popular is sugarss?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on sugarss.

Is sugarss still maintained?

The most recent release of sugarss (v5.0.1) was published 1 year ago.

Does sugarss run install scripts?

No. sugarss does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.