stylus
npmv0.64.0Robust, expressive, and feature-rich CSS superset
Overview
stylus is an npm package that robust, expressive, and feature-rich CSS superset. It is very popular, with about 2.7M downloads per week and 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 battle-tested, widely-adopted 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
- Large, well-established user base (2.7M weekly downloads).
- 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.
Relationship graph
Dependencies (left) and dependents (right) of stylus.
Dependencies
Dev (2)
Used by
Popular packages that depend on stylus.
Alternatives to stylus
Leaner CSS
Tool for transforming styles with JS plugins
Strict TypeScript and Flow types for style based on MDN data
Indent-based CSS syntax for PostCSS
A pure JavaScript implementation of Sass.
A modern CSS parser and stringifier with TypeScript support
A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
the complete solution for node.js command-line programs
A JavaScript parser
JavaScript parser and stringifier for YAML
Range header field string parser
An Esprima-compatible JavaScript parser built on Acorn
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
Vite DevTools
A pure JavaScript implementation of Sass.
Tool for transforming styles with JS plugins
A JavaScript parser
JavaScript parser and stringifier for YAML
Modify strings, generate sourcemaps
Traverse an ESTree-compliant AST
Remap sequential sourcemaps through transformations to point at the original source code
Escape string for use in HTML
A CSS parser, transformer, and minifier written in Rust
Version history
| Version | Published | License |
|---|---|---|
| 0.64.0latest | 1 year ago | MIT |
| 0.63.0 | 2 years ago | MIT |
| 0.62.0 | 2 years ago | MIT |
| 0.61.0 | 2 years ago | MIT |
| 0.60.0 | 2 years ago | MIT |
| 0.59.0 | 3 years ago | MIT |
| 0.58.1 | 4 years ago | MIT |
| 0.58.0 | 4 years ago | MIT |
| 0.57.0 | 4 years ago | MIT |
| 0.56.0 | 4 years ago | MIT |
| 0.55.0 | 4 years ago | MIT |
| 0.54.8 | 6 years ago | MIT |
| 0.54.7 | 7 years ago | MIT |
| 0.54.6 | 7 years ago | MIT |
| 0.54.5 | 10 years ago | MIT |
| 0.54.4 | 10 years ago | MIT |
| 0.54.3 | 10 years ago | MIT |
| 0.54.2 | 10 years ago | MIT |
| 0.54.0 | 10 years ago | MIT |
| 0.53.0 | 10 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install stylus?
Run `npm install stylus` to add stylus to your npm project.
What license is stylus released under?
stylus is distributed under the MIT license.
How popular is stylus?
stylus has approximately 2,652,280 downloads per week and 1 known dependent packages.