Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/georgesboris/elm-attributes
Easily implement and use attribute based APIs using the Elm language
https://github.com/georgesboris/elm-attributes
Last synced: about 2 months ago
JSON representation
Easily implement and use attribute based APIs using the Elm language
- Host: GitHub
- URL: https://github.com/georgesboris/elm-attributes
- Owner: georgesboris
- License: mpl-2.0
- Created: 2024-02-21T00:44:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-21T01:33:53.000Z (11 months ago)
- Last Synced: 2024-02-22T01:50:39.907Z (11 months ago)
- Language: Elm
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-attributes
Create and use opaque attribute APIs without the usual boilerplate.
The opaque attribute pattern is useful for creating highly backwards compatible APIs without locking the author of the module/library into an internal implementation.
However, implementing it can be boilerplate-heavy and you miss the opportunity of reusing generic abstractions across modules that follow the same pattern.
This library helps with that by giving you a set of tools to both create modules following this pattern and use them with access to common utility functions.