Sindre Sorhus

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

Projects

sudo-block

Block users from running your app with root permissions

JavaScript - Released: 23 Jun 2013 - 98

ipify

Get your public IP address

JavaScript - Released: 18 Aug 2014 - 266

negative-array

Negative array index support `array[-1]` using ES2015 Proxy

JavaScript - Released: 14 Nov 2013 - 454

temp-write

Write string/buffer/stream to a random temp file

JavaScript - Released: 01 Jan 2014 - 102

superheroes

Get superhero names

JavaScript - Released: 11 May 2015 - 233

terminal-size

Reliably get the terminal window size

JavaScript - Released: 09 Sep 2016 - 136

define-lazy-prop

Define a lazily evaluated property on an object

JavaScript - Released: 15 Jan 2017 - 62

node-error-ex

Easy error subclassing and stack customization

CoffeeScript - Released: 25 Aug 2015 - 65

package-up

Find the closest package.json file

JavaScript - Released: 21 Sep 2015 - 152

resolve-cwd

Resolve the path of a module like `require.resolve()` but from the current working directory

JavaScript - Released: 06 Dec 2015 - 69

gh-latest-repos

Microservice to get the latest public GitHub repos from a user

JavaScript - Released: 21 Sep 2017 - 150

function-timeout

Make a synchronous function have a timeout

JavaScript - Released: 03 Jun 2022 - 122

is-port-reachable

Check if a local or remote port is reachable

JavaScript - Released: 24 Aug 2015 - 103

is-inside-container

Check if the process is running inside a container (Docker/Podman)

JavaScript - Released: 15 Feb 2023 - 68

array-uniq

Create an array without duplicates

JavaScript - Released: 13 Jun 2014 - 70

is-npm

Check if your code is running as an npm or yarn script

JavaScript - Released: 20 Jul 2014 - 64

replace-in-files-cli

Replace matching strings and regexes in files

JavaScript - Released: 12 Jun 2019 - 173

registry-url

Get the set npm registry URL

JavaScript - Released: 15 Jun 2014 - 53

Blear

iOS app that transforms your photos into stunning blurry wallpapers for your device

Swift - Released: 18 Feb 2017 - 479

semver-diff

Get the diff type of two semver versions: 0.0.1 0.0.2 → patch

JavaScript - Released: 22 Apr 2014 - 67

hex-rgb

Convert HEX color to RGB

JavaScript - Released: 27 Jul 2014 - 130

prepend-http

Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`

JavaScript - Released: 16 Nov 2014 - 62

default-browser

Get the default browser

JavaScript - Released: 27 Jan 2014 - 52

is-builtin-module

Check if a string matches the name of a Node.js builtin module

JavaScript - Released: 04 May 2015 - 56

gulp-markdown

Markdown to HTML

JavaScript - Released: 31 Dec 2013 - 181