Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madmax3365/classnames
https://github.com/madmax3365/classnames
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/madmax3365/classnames
- Owner: madmax3365
- Created: 2022-12-25T21:43:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-26T23:23:40.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T09:48:36.372Z (10 days ago)
- Language: TypeScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Classnames
This is a simple, zero-dependency library, it provides a single function that
takes `string`, `undefined`, `null`, `boolean` type varargs and returns a `string` with all falsy values removed,
deduplicated and
the rest joined with a space.