Skip to content
JS
Package

postcss-js

PostCSS for CSS-in-JS and styles in JS objects

v5.1.0, 13 Feb 2026MITESM + CommonJSTypes: BundledCSS-in-JS and styling
$ npm install postcss-js

Key numbers

As of 25 Sept 2026
Weekly downloads
28.8m
+98% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 months ago
v5.1.0
GitHub stars
667
24 forks
Open issues / PRs
3 / 1
Contributors
-
Commits, last 52 weeks
32

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 53.4m (16 Jun 2026)Low 10.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

28,782,014 downloads last week, 137,453,604 in the last month. The 12-month change of +98% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
424 in total
Latest version
5.1.0, 13 Feb 20267 months ago
First published
15 Oct 2015
Last push to GitHub
11 Aug 202644 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
1
Commits, last 52 weeks
32
Dependents on npm
743

Major versions

  1. v5 first release 5.0.0, 16 Sept 2025
  2. v4 first release 4.0.0, 5 Jan 2022
  3. v3 first release 3.0.0, 15 Sept 2020
  4. v2 first release 2.0.0, 16 Jul 2018
  5. v1 first release 1.0.0, 8 May 2017
  6. v0 first release 0.1.0, 15 Oct 2015

Recent releases

VersionPublished
5.1.013 Feb 2026
5.0.321 Dec 2025
5.0.28 Dec 2025
5.0.129 Sept 2025
5.0.016 Sept 2025
4.1.016 Sept 2025
4.0.18 Feb 2023
4.0.05 Jan 2022
3.0.35 Nov 2020
3.0.25 Nov 2020
3.0.127 Sept 2020
3.0.015 Sept 2020
2.0.38 Sept 2019
2.0.25 Jul 2019
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20 || ^22 || >= 24
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (0)
None
Peer dependencies (1)
postcss
npm install postcss-js
  • jsDelivrhttps://cdn.jsdelivr.net/npm/postcss-js@5.1.0/
  • unpkghttps://unpkg.com/postcss-js@5.1.0/
  • esm.shhttps://esm.sh/postcss-js@5.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.