Sindre Sorhus

Full-Time Open-Sourcerer. Focuses on Swift & JavaScript. Makes macOS apps, CLI tools, npm packages. Likes unicorns.

Projects

Regex

🔤 Swifty regular expressions

Swift - Released: 01 May 2021 - 327

Percentage

A percentage type for Swift

Swift - Released: 01 Oct 2019 - 269

to-rotated

Rotate an array by a given number of steps

JavaScript - Released: 22 May 2024 - 28

decircular

Remove circular references from objects

JavaScript - Released: 14 Nov 2023 - 87

array-differ

Create an array with values that are present in the first input array but not additional ones

JavaScript - Released: 20 Jun 2014 - 37

windows-cli

Get metadata about the active window (title, id, bounds, owner, URL, etc)

JavaScript - Released: 04 Apr 2016 - 58

delay-cli

Delay execution for a given amount of seconds

JavaScript - Released: 07 Apr 2018 - 86

fn-args

Get the arguments of a function, arrow function, generator function, async function

JavaScript - Released: 16 Mar 2014 - 53

alfred-dark-mode

Alfred 3 workflow to toggle the system dark mode

Released: 06 Feb 2017 - 206

p-map-series

Map over promises serially

JavaScript - Released: 21 Oct 2016 - 46

repeating

Repeat a string - fast

JavaScript - Released: 12 Oct 2014 - 35

strip-debug

Strip console, alert, and debugger statements from JavaScript code

JavaScript - Released: 11 Jan 2014 - 83

human-interface-guidelines-extras

Community additions to Apple's Human Interface Guidelines

Released: 17 Oct 2020 - 268

set-immediate-shim

Simple `setImmediate` shim

JavaScript - Released: 29 Dec 2014 - 28

condense-whitespace

Remove leading, trailing and repeated whitespace from a string

JavaScript - Released: 13 Jan 2015 - 39

convert-hrtime

Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds

JavaScript - Released: 10 Dec 2015 - 53

lock-cli

Lock your system from the command-line

JavaScript - Released: 14 Aug 2017 - 236

gulp-chmod

Change permissions of Vinyl files

JavaScript - Released: 07 Mar 2014 - 39

remote-git-tags

Get tags from a remote git repo. Using only JS. No git binary required.

JavaScript - Released: 20 Sep 2014 - 49

p-some

Wait for a specified number of promises to be fulfilled

JavaScript - Released: 21 Oct 2016 - 34

supervillains

Get supervillain names

JavaScript - Released: 11 May 2015 - 117

gulp-plugin-boilerplate

Boilerplate to kickstart creating Gulp plugins

JavaScript - Released: 06 Feb 2014 - 74

has-emoji

Check whether a string has any emoji

JavaScript - Released: 08 Nov 2017 - 106

is-low-power-mode

Check if the system is in low power mode

JavaScript - Released: 25 Jul 2024 - 58

first-chunk-stream

Transform the first chunk in a stream

JavaScript - Released: 25 May 2014 - 27