</>PackageGraphPackageGraph

stylus

npmv0.64.0

Robust, 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.

5
Direct dependencies

Runtime packages this one declares itself.

12
Total installed

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

3.5 MB
Install size

Unpacked size of this package plus its entire runtime tree.

4
Tree depth

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

BSD-3-ClauseBlueOak-1.0.0MIT

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.

PackageWeekly downloadsDependentsLicenseLast release
stylusthis page01MIT1 year ago
less02Apache-2.01 day ago
postcss249.3M7MIT1 day ago
csstype142.8M2MIT1 day ago
react-style-singleton59.1M2MIT1 day ago
node-sassdeprecated888.4K0MIT1 day ago

Dependencies

Declared by stylus v0.64.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (2)

chai ^4.3.6mocha ^10.4.0

Used by

Popular packages that depend on stylus.

Relationship graph

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

Frequently installed together

Release history

No releases in the last two years, typically about 74 days apart.

Recent versions of stylus
VersionPublishedSizeLicense
0.64.0latest1 year ago357 KBMIT
0.63.02 years ago357 KBMIT
0.62.02 years ago357 KBMIT
0.61.02 years ago357 KBMIT
0.60.03 years ago358 KBMIT
0.59.04 years ago411 KBMIT
0.58.14 years ago416 KBMIT
0.58.04 years ago435 KBMIT
0.57.04 years ago416 KBMIT
0.56.04 years ago416 KBMIT
0.55.05 years ago415 KBMIT
0.54.86 years ago408 KBMIT
0.54.77 years ago430 KBMIT
0.54.67 years ago430 KBMIT
0.54.510 years agoMIT

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

Keywords

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.