remarkablemark/style-to-js
Last release: 1 week ago
style-to-js parses CSS inline style strings into a JavaScript object with camelCased property names. It’s useful for converting CSS declarations like `background-color: #BADA55` into `{ backgroundColor: "#BADA55" }`, including support for vendor-prefixed properties and custom properties.
Project status
- Actively maintained, with the most recent activity on 2026-06-01 and a tagged update v2.0.0 on 2026-05-20, indicating ongoing development rather than maintenance mode.
- Apparent cadence, updates cluster in 2025-11 (v1.1.20 and v1.1.21 on the same date), then a larger change arrives in 2026-05 (v2.0.0), suggesting an irregular but continuing release pattern.
AI summary generated Today
Recent updates
v2.0.0
1 week agov2.0.0 is mainly a build/tooling modernization plus a build output/packaging change. The documented breaking change is tsconfig build target moving from ES5 to ES6, but the code diff shows additional breaking changes around module exports and package entry points.
BreakingFeaturesv1.1.21
6 months agoRelease v1.1.21 makes a dependency update only. It bumps the core dependency style-to-object and updates the corresponding lockfile and package version, with no direct source code changes shown in the diff.
v1.1.20
6 months agoRelease v1.1.20 primarily updates documentation. The README badge URLs were changed from badgen.net to shields.io, and the changelog reflects this documentation-only change.