Skip to content
JS
Package

style-to-js

Parses CSS inline style to JavaScript object (camelCased).

v2.0.2, 7 Jul 2026MITESM + CommonJSTypes: Bundled
$ npm install style-to-js

Key numbers

As of 25 Sept 2026
Weekly downloads
29.2m
+442% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 months ago
v2.0.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 40m (25 Aug 2026)Low 4.8m (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.

29,193,864 downloads last week, 145,253,084 in the last month. The 12-month change of +442% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
727 in total
Latest version
2.0.2, 7 Jul 20262 months ago
First published
1 Nov 2020
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
37

Major versions

  1. v2 first release 2.0.0, 20 May 2026
  2. v1 first release 1.0.0, 22 Nov 2020
  3. v0 first release 0.0.0, 1 Nov 2020

Recent releases

VersionPublished
2.0.27 Jul 2026
2.0.119 Jun 2026
2.0.020 May 2026
1.1.2116 Nov 2025
1.1.2016 Nov 2025
1.1.193 Nov 2025
1.1.1810 Oct 2025
1.1.1716 Jun 2025
1.1.166 Oct 2024
1.1.153 Oct 2024
1.1.149 Sept 2024
1.1.1327 Aug 2024
1.1.1227 Mar 2024
1.1.1119 Mar 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
50 kB
Dependencies (1)
style-to-object
npm install style-to-js
  • jsDelivrhttps://cdn.jsdelivr.net/npm/style-to-js@2.0.2/
  • unpkghttps://unpkg.com/style-to-js@2.0.2/
  • esm.shhttps://esm.sh/style-to-js@2.0.2
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.