Skip to content
View sindresorhus's full-sized avatar

Sponsors

Sponsoring

Block or report sindresorhus

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Starred repositories

Showing results

Rotate an array by a given number of steps

JavaScript 40 Updated May 22, 2024

Reusable workflow to generate Sparkle appcast.xml for my apps

28 1 Updated Feb 3, 2025

Check if the system is in low power mode

JavaScript 65 1 Updated Jul 25, 2024

Check if a directory is empty

JavaScript 27 Updated Jul 25, 2024

Tiny terminal spinner

JavaScript 229 5 Updated Feb 27, 2025
Ruby 4,835 655 Updated Apr 11, 2025

Useful utilities for working with Uint8Array (and Buffer)

JavaScript 252 7 Updated Jan 24, 2025

Tiny process execution for humans — a better child_process

JavaScript 488 9 Updated Mar 28, 2025

Delay function calls until a set time elapses after the last invocation

JavaScript 811 77 Updated Oct 14, 2024

Extracts the repo URL from a package.json object

JavaScript 23 4 Updated Apr 9, 2025

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc

JavaScript 162 1 Updated Sep 13, 2024

Sketch plugin to preview macOS app icons in the Dock using the Icon Preview app

JavaScript 48 Updated Jun 13, 2024

Regular expression for matching JavaScript identifiers

JavaScript 15 Updated May 5, 2024

Provides a list of reserved identifiers for JavaScript

JavaScript 19 Updated May 5, 2024

Encode & decode strings, bytes, and integers to Base62

JavaScript 89 3 Updated May 5, 2024

JS regexes + future. A template tag for readable, high-performance, native JS regexes with extended syntax, context-aware interpolation, and always-on best practices.

JavaScript 564 13 Updated Apr 10, 2025

Check if a string is a valid JavaScript identifier

JavaScript 27 Updated Jul 12, 2024

Convert a string to a valid JavaScript identifier

JavaScript 41 Updated May 28, 2024

Async mutex lock for managing access to a shared resource

JavaScript 127 1 Updated Aug 16, 2024

Remark plugin for adding a custom ID attribute to Markdown headers

JavaScript 38 4 Updated May 28, 2024

Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)

JavaScript 46 2 Updated Jun 1, 2024

html -> elements

JavaScript 260 31 Updated Nov 17, 2023

Merge objects using their property descriptors

JavaScript 151 26 Updated Dec 21, 2023

Manage extended attributes in Swift

Swift 45 3 Updated Mar 10, 2024

Check if two arrays are equal

JavaScript 36 14 Updated Apr 8, 2025

Get the dimensions of an image

JavaScript 446 10 Updated Jun 21, 2024

Remove circular references from objects

JavaScript 95 2 Updated Mar 10, 2024

Find a file or directory by walking up parent directories — Zero dependencies

JavaScript 79 2 Updated Mar 1, 2025

Convert a string index to its line and column position

JavaScript 33 2 Updated Apr 8, 2025

Observe changes to the DOM using an async iterable — A nicer API for MutationObserver

JavaScript 212 2 Updated Aug 18, 2024
Next
Showing results