Back to Explore

remarkablemark/style-to-object

GitHub
1 watchersOpen source

Last release: 6 months ago

style-to-object parses CSS inline style strings (for example, `color: #C0FFEE; background: #BADA55;`) into a JavaScript object of property name to value. It can also invoke an optional iterator callback to process each parsed declaration individually. Useful for turning inline CSS declarations into structured JS data.

Project status

  • Active maintenance: The repository shows recent GitHub activity (last upstream push on 2026-06-02), and the package has published multiple recent version updates (v1.0.12 to v1.0.14 in late 2025).
  • Update cadence: Noting only the provided version history, updates occurred within about 3 weeks (v1.0.12 on 2025-10-24, v1.0.13 and v1.0.14 on 2025-11-16). After that, no further version updates are listed in the provided summaries, though there is later upstream activity (2026-06-02).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.14

    6 months ago

    Release v1.0.14 primarily updates the build dependency inline-style-parser. The release notes describe a single change, bumping inline-style-parser from 0.2.6 to 0.2.7.

  • v1.0.13

    6 months ago

    Release v1.0.13 is documented as a README badge refresh. The actual diff also includes a package version bump metadata update and substantial devDependency/lockfile changes for the project toolchain (lint/build/test), plus a small README link change.

  • v1.0.12

    7 months ago

    v1.0.12 primarily updates the library dependency inline-style-parser from 0.2.4 to 0.2.6. The release notes only mention that one change, but the actual diff also updates CI workflow tooling (actions/setup-node) and bumps multiple development dependencies.

  • v1.0.11

    8 months ago

    v1.0.11 is primarily presented as a bug fix for ESM TypeScript types packaging. The code changes also introduce new package publishing linting steps (publint) in CI and in the pre-commit hook, and they adjust which type declaration file is published for ESM.

  • v1.0.10

    8 months ago

    v1.0.10 primarily focuses on fixing the package's ESM output and improving type exports for consumers. The release notes mention removing the previous ESM build artifact approach, switching to a real ESM build, and exporting the StyleObject interface. The code diff also includes multiple packaging and build-system changes that are not fully covered in the release notes.

    Features
  • v1.0.9

    12 months ago

    v1.0.9 appears to be a tooling-focused release with no documented library/runtime changes. The diff shows CI configuration updates (Codecov action major version bump), build tooling adjustments (Rollup TypeScript plugin compilerOptions), and a large set of development dependency version bumps.

  • v1.0.8

    9/11/2024

    Release v1.0.8 primarily updates dependencies, specifically bumping the runtime dependency inline-style-parser from 0.2.3 to 0.2.4. The diff shows no application/source code changes, only changelog, package.json, and lockfile updates.

  • v1.0.7

    8/28/2024

    Release v1.0.7 is primarily a CI and publishing workflow update, specifically adding npm provenance when publishing to the registry. The actual library code changes in this diff are minimal, limited to import ordering and test cleanup, with no apparent runtime API changes.

  • v1.0.6

    3/27/2024

    v1.0.6 is primarily a dependency bump release. The release notes only mention bumping inline-style-parser from 0.2.2 to 0.2.3, but the code diff also updates multiple repository and tooling configurations (CI, release automation, and dev dependencies).

  • v1.0.5

    12/1/2023

    Release v1.0.5 is presented as a single bug fix for ESM TypeScript typings. The code diff shows packaging and build pipeline changes to generate and ship ESM declaration files, plus multiple tooling and dependency bumps.

    Breaking