Back to Explore

wooorm/space-separated-tokens

GitHub
1 watchersOpen source

Last release: 11/14/2022

A tiny JavaScript package that can parse and stringify space-separated tokens, following the WHATWG spec (for example, for the HTML class attribute). It’s useful as a low-level helper when you need to work with token lists, particularly when working with hast. Exposes `parse` and `stringify` (ESM only, fully typed with TypeScript).

Project status

  • The most recent activity is from 2022-11-14, with the last recorded upstream push on 2022-11-14, suggesting the project is no longer actively updated in 2024-2026 based on available evidence.
  • Update cadence appears low, with versions at 2.0.2 (2022-11-14), 2.0.1 (2021-04-26), and 2.0.0 (2021-03-07), indicating a sparse release pattern rather than frequent updates.

AI summary generated Today

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

Recent updates

  • 2.0.2

    11/14/2022

    Release 2.0.2 focuses on documentation updates and stricter TypeScript typing. The runtime parsing and stringifying logic appears unchanged, but the project’s build, test, and tooling pipeline were significantly modernized.

  • 2.0.1

    4/26/2021

    Release 2.0.1 primarily updates the published documentation and TypeScript/JSDoc typing around the library API. The code changes shown are minimal and appear to be non-runtime, but the README explicitly documents that the package is ESM-only.

  • 2.0.0

    3/7/2021

    Version 2.0.0 switches the package to ESM and adds JSDoc-based TypeScript declaration generation. It also refactors the implementation in a way that removes the old bundling approach.

    BreakingFeatures
  • 1.1.5

    1/23/2020

    Release 1.1.5 is described in the release notes as a prose refactor. The code diff shows mostly documentation and test wording changes, but it also includes updates to development tooling dependencies and adds GitHub Sponsors funding metadata.

  • 1.1.4

    5/15/2019

    Release 1.1.4 is documented as a small website-facing change: adding more README badges and switching URLs from HTTP to HTTPS. The code diff, however, also includes changes to the build tooling and CI configuration that are not mentioned in the release notes.

    Features
  • 1.1.3

    4/16/2019

    Release 1.1.3 removes the `trim` npm dependency. The implementation now relies on the native `String.prototype.trim()` method for trimming tokens in `parse` and `stringify`.

  • 1.1.2

    4/14/2018

    Release 1.1.2 mainly refactors formatting of the library source and modernizes the project tooling. The runtime API in index.js appears unchanged, but the repository build, linting, and test workflow was significantly altered.

  • 1.1.1

    6/25/2017

    Release 1.1.1 primarily updates the README by adding a new “Related” section linking to related wooorm packages. However, the code diff also shows multiple development tooling changes (CI Node version, devDependency version bumps, and lint/remark configuration adjustments) that are not mentioned in the release notes.

    Features
  • 1.1.0

    11/24/2016

    Release 1.1.0 is presented as a documentation and code-style refactor with some cleanup. The actual diff shows mostly maintenance work, but there are also significant, undocumented changes to the project’s development toolchain and CI configuration. The runtime API surface (parse and stringify) appears functionally unchanged.

  • 1.0.0

    2/22/2016

    Release 1.0.0 was published on 2016-02-22. The provided release notes contain only a generic celebration marker and no specific information about features, fixes, breaking changes, or migration steps.