Sindre Sorhus

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

Projects

titleize

Capitalize every word in string: unicorn cake → Unicorn Cake

JavaScript - Released: 20 Jan 2015 - 52

alfred-emoj

Alfred 3 workflow to find relevant emoji from text

JavaScript - Released: 26 Jun 2016 - 366

ink-big-text

Awesome text component for Ink

TypeScript - Released: 07 Apr 2018 - 110

is-progressive

Check if JPEG images are progressive

JavaScript - Released: 10 Jan 2015 - 200

decamelize-keys

Convert object keys from camel case

JavaScript - Released: 30 Oct 2022 - 48

timed-out

Timeout HTTP/HTTPS requests

JavaScript - Released: 21 Nov 2014 - 52

capture-stack-trace

Ponyfill for Error#captureStackTrace

JavaScript - Released: 24 Jul 2015 - 58

is-root

Check if the process is running as root user, for example, one started with `sudo`

JavaScript - Released: 19 Jan 2014 - 78

to-milliseconds

Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`

JavaScript - Released: 04 Jul 2018 - 156

env-editor

Get metadata on the default editor or a specific editor

JavaScript - Released: 04 May 2017 - 50

multicast-stream

Create a multicast stream that lets multiple consumers independently read the same data

JavaScript - Released: 25 Aug 2024 - 116

p-reduce

Reduce a list of values using promises into a promise for a value

JavaScript - Released: 21 Oct 2016 - 66

file-url

Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`

JavaScript - Released: 04 Apr 2014 - 58

react-router-util

Useful components and utilities for working with React Router

JavaScript - Released: 12 Jan 2018 - 319

find-versions

Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`

JavaScript - Released: 13 Jun 2014 - 44

caller-callsite

Get the callsite of the caller function

JavaScript - Released: 24 Jan 2015 - 53

make-asynchronous

Make a synchronous function asynchronous by running it in a worker

JavaScript - Released: 26 Jun 2022 - 243

safe-stringify

Serialize objects to JSON with handling for circular references

JavaScript - Released: 01 Apr 2022 - 137

url-parse-lax

url.parse() with support for protocol-less URLs & IPs

JavaScript - Released: 13 Jul 2015 - 52

filenamify-url

Convert a URL to a valid filename

JavaScript - Released: 14 Jan 2015 - 78

path-key

Get the PATH environment variable key cross-platform

JavaScript - Released: 28 Dec 2015 - 43

php-server

Start a PHP server

JavaScript - Released: 14 May 2019 - 134

make-dir-cli

Make directories and their parents if needed - Like `mkdir -p`, but cross-platform

JavaScript - Released: 09 May 2017 - 124

macos-lock

Lock your Mac from the command-line

Shell - Released: 14 Aug 2017 - 134

df

Get free disk space info from `df -kP`

JavaScript - Released: 04 May 2015 - 64