shime / dominant-color
Gets dominant color of an image.
☆64Updated 7 years ago
Related projects: ⓘ
- 💿 Take control of your CSS keyframe animations☆60Updated 7 years ago
- 🎨 (~1kb) library to extract colors from pictures.☆72Updated last year
- 1kb script that will make your DOM state transitions smoother & easier☆72Updated 6 years ago
- Polyfill for the "History API: Scroll Restoration"☆69Updated 5 years ago
- Draggable base class☆82Updated last year
- Automatically expand a <textarea> to fit its content, in a few bytes☆78Updated 3 years ago
- Convert a string to a dash-separated string (kebab case). Works with camelcase, pascalcase, space-separated, etc.☆88Updated 2 years ago
- Determine if the given hex color is light or dark. Helpful to determining foreground color against a background color.☆60Updated 5 years ago
- PostCSS plugin for replacing strings.☆23Updated last year
- Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.☆76Updated 6 months ago
- Check if a string is HTML☆96Updated 6 months ago
- ☆45Updated this week
- PostCSS plugin to get the prominent colors from an image.☆46Updated 4 years ago
- Parse and stringify the HTML <img> srcset attribute☆138Updated 7 months ago
- macOS/iOS elastic scroll polyfill on scrollable elements☆76Updated last year
- Render cute JSON in React☆54Updated 5 years ago
- A tiny (255B) shim when Element.classList cannot be used~!☆62Updated 5 years ago
- Safely set a dot-notated path within a nested object.☆82Updated 3 years ago
- A tiny (174B) library to detect `offline` status & respond to changes in the browser.☆90Updated 5 years ago
- A convenient wrapper around IntersectionObserver for tracking element position relative to the viewport.☆11Updated 6 years ago
- Use env() variables in CSS☆54Updated 2 years ago
- ☆92Updated 6 years ago
- Detect when element scrolled to view☆34Updated 4 years ago
- Create a HTML element string☆91Updated 2 years ago
- Gets form and field data via form.elements☆106Updated 4 years ago
- Delay a promise a specified amount of time☆116Updated 2 years ago
- An easy way to add keyboard shortcuts to your javascript applications.☆37Updated last year
- Get consecutively unique elements from an array☆74Updated 4 months ago
- A teeny tiny keyboard shortcuts library☆76Updated 2 years ago
- Lightweight querySelector/All wrapper that outputs an Array☆125Updated 11 months ago