stylus
npmv0.64.0Robust, expressive, and feature-rich CSS superset
Adopt with care
stylus is usable, with caveats. Last published 690 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 690 days ago.
- BWeight: grade B, Good.
Pulls in 12 transitive packages, about 3.5 MB installed (at least — some of the tree is still being crawled).
- ASupply chain: grade A, Excellent.
No install scripts, 5 maintainers, and a contained dependency surface.
- 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 stylus 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.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing stylus, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=16
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
stylus 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 |
|---|---|---|---|---|
| stylusthis page | 0 | 1 | MIT | 1 year ago |
| less | 0 | 2 | Apache-2.0 | 1 day ago |
| postcss | 249.3M | 7 | MIT | 1 day ago |
| csstype | 142.8M | 2 | MIT | 1 day ago |
| react-style-singleton | 59.1M | 2 | MIT | 1 day ago |
| node-sassdeprecated | 888.4K | 0 | MIT | 1 day ago |
Dependencies
Declared by stylus v0.64.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (2)
Used by
Popular packages that depend on stylus.
Relationship graph
Dependencies (left) and dependents (right) of stylus.
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
No releases in the last two years, typically about 74 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.64.0latest | 1 year ago | 357 KB | MIT |
| 0.63.0 | 2 years ago | 357 KB | MIT |
| 0.62.0 | 2 years ago | 357 KB | MIT |
| 0.61.0 | 2 years ago | 357 KB | MIT |
| 0.60.0 | 3 years ago | 358 KB | MIT |
| 0.59.0 | 4 years ago | 411 KB | MIT |
| 0.58.1 | 4 years ago | 416 KB | MIT |
| 0.58.0 | 4 years ago | 435 KB | MIT |
| 0.57.0 | 4 years ago | 416 KB | MIT |
| 0.56.0 | 4 years ago | 416 KB | MIT |
| 0.55.0 | 5 years ago | 415 KB | MIT |
| 0.54.8 | 6 years ago | 408 KB | MIT |
| 0.54.7 | 7 years ago | 430 KB | MIT |
| 0.54.6 | 7 years ago | 430 KB | MIT |
| 0.54.5 | 10 years ago | — | MIT |
Overview
stylus is an npm package that robust, expressive, and feature-rich CSS superset. It has 1 known dependents in the graph. The latest version is 0.64.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need robust, expressive, and feature-rich CSS superset 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).
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 stylus?
stylus is usable, with caveats. Last published 690 days ago.
How do I install stylus?
Run `npm install stylus` to add stylus to your npm project.
How many dependencies does stylus have?
stylus declares 7 direct dependencies and pulls in 12 packages in total once its runtime tree is resolved totalling about 3.5 MB on disk.
What license is stylus released under?
stylus is distributed under the MIT license. Its dependency tree also includes: BSD-3-Clause, BlueOak-1.0.0, MIT.
How popular is stylus?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on stylus.
Is stylus still maintained?
The most recent release of stylus (v0.64.0) was published 1 year ago.
Does stylus run install scripts?
No. stylus does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.