fregante / get-media-size
Get the real size of an <img>, <video>, or <canvas> in the browser.
☆12Updated 5 years ago
Alternatives and similar repositories for get-media-size:
Users that are interested in get-media-size are comparing it to the libraries listed below
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Object of "void elements" as defined by the WHATWG HTML Standard.☆25Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if a file is executable☆30Updated 6 years ago
- Templating like the other ones, but not at all like the other ones.☆11Updated 7 years ago
- Bind all methods in an object to itself or a specified context☆57Updated 4 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- Check if a value is an object☆40Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- ⚓️ Smoothly scroll to #anchors☆26Updated 2 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Regular expression for matching astral symbols☆34Updated 6 years ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆23Updated 3 months ago
- Scaffold out a Next.js project.☆13Updated 3 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Regular expression for matching JavaScript comments☆31Updated 2 years ago
- Check if an Iterable is empty☆22Updated 4 years ago
- Display an error in a GUI dialog☆22Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Modify the values of an object☆27Updated 3 years ago
- Make directories recursively -plz 🙏☆12Updated 5 years ago
- A curated list of awesome tiny browser libraries.☆24Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Get the shortest leading whitespace from lines in a string☆19Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Listen for changes in your conf config☆27Updated 7 years ago