sugarss
npmv5.0.1Indent-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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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 10pxsugarss vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| sugarssthis page | 0 | 1 | MIT | 1 year ago |
| postcss | 249.3M | 7 | MIT | 1 day ago |
| css-tree | 0 | 5 | MIT | 1 day ago |
| esprima | 77.6M | 5 | BSD-2-Clause | 1 day ago |
| postcss-value-parser | 0 | 1 | MIT | 1 day ago |
| @csstools/css-parser-algorithms | 0 | 3 | MIT | 1 day ago |
Dependencies
Declared by sugarss v5.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Peer (1)
Used by
Popular packages that depend on sugarss.
Relationship graph
Dependencies (left) and dependents (right) of sugarss.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol
A pure JavaScript implementation of Sass.
Vite DevTools
Tool for transforming styles with JS plugins
JavaScript parser and stringifier for YAML
Open stuff like URLs, files, executables. Cross-platform.
Create simple HTTP ETags
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Node.js CORS middleware
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.
Release history
1 release in the last two years, typically about 40 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 5.0.1latest | 1 year ago | 94 KB | MIT |
| 5.0.0 | 1 year ago | 94 KB | MIT |
| 4.0.1 | 5 years ago | 348 KB | MIT |
| 4.0.0 | 5 years ago | 348 KB | MIT |
| 3.0.3 | 5 years ago | 34 KB | MIT |
| 3.0.2 | 5 years ago | 34 KB | MIT |
| 3.0.1 | 6 years ago | 34 KB | MIT |
| 3.0.0 | 6 years ago | 34 KB | MIT |
| 2.0.0 | 8 years ago | 109 KB | MIT |
| 1.0.1 | 8 years ago | — | MIT |
| 1.0.0 | 9 years ago | — | MIT |
| 0.2.0 | 10 years ago | — | MIT |
| 0.1.6 | 10 years ago | — | MIT |
| 0.1.5 | 10 years ago | — | MIT |
| 0.1.4 | 10 years ago | — | MIT |
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
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.