Skip to content

Would an "Alternatives" section in the README be useful? #285

Description

@dkryaklin

Hi @bgrins! Thanks for TinyColor it's been the default answer to "how do I do colors in JS" for well over a decade, and a lot of code I've written over the years leaned on it.

I maintain colordx, a color library built around OKLCH and the CSS Color 4 spaces, and I've shipped a drop-in tinycolor2 replacement as a subpath export:

import tinycolor from '@colordx/core/tinycolor'; // was: from 'tinycolor2'

Same API, same output strings, same mutable instances, same TS types. It's verified with differential tests that run the real tinycolor2 as a devDependency and compare output.

I noticed the last release was a while back, and issues like #151 come up periodically. So, a genuine question rather than a pitch: would an "Alternatives" section in the README be useful to you? Happy to send a small PR.

If you'd rather not, or you'd rather write it yourself, that's completely fine. No hard feelings either way, and I won't follow up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions