Sindre Sorhus

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

Projects

windows-wallpaper

Manage the desktop wallpaper on Windows

Rust - Released: 03 Apr 2015 - 111

hasha-cli

Hashing made simple. Get the hash of text or stdin.

JavaScript - Released: 01 Sep 2015 - 73

trim-repeated

Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz

JavaScript - Released: 13 Jan 2015 - 19

normalize-newline

Normalize the newline characters in a string to `\n`

JavaScript - Released: 28 Jun 2014 - 30

is-scoped

Check if a string is a scoped npm package name

JavaScript - Released: 22 Mar 2017 - 24

random-word

Get a random English word

JavaScript - Released: 04 Feb 2014 - 64

is-in-ci

Check if the process is running in a Continuous Integration (CI) environment

JavaScript - Released: 27 Oct 2023 - 27

pick-random

Pick random items from a list

JavaScript - Released: 26 May 2014 - 54

p-times

Run promise-returning & async functions a specific number of times concurrently

JavaScript - Released: 22 Oct 2016 - 36

manage-wifi-cli

Turn your Wi-Fi on and off

JavaScript - Released: 29 Jan 2017 - 111

change-file-extension

Change the file extension of a path

JavaScript - Released: 03 Nov 2023 - 31

p-race

A better `Promise.race()`

JavaScript - Released: 21 Oct 2016 - 45

broccoli-autoprefixer

Prefix CSS using Autoprefixer

JavaScript - Released: 17 Feb 2014 - 34

repo-url-from-package

Extracts the repo URL from a package.json object

JavaScript - Released: 24 Jul 2024 - 20

default-browser-id

Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari

JavaScript - Released: 27 Jan 2014 - 12

p-if

Conditional promise chains

TypeScript - Released: 21 Oct 2016 - 59

is-heroku

Check if your code is running on Heroku

JavaScript - Released: 20 Jul 2014 - 18

app-exists

Check if an app exists on macOS

JavaScript - Released: 08 Aug 2019 - 77

stdin-discarder

Discard stdin input except for Ctrl+C

JavaScript - Released: 26 Jul 2022 - 18

latest-version-cli

Get the latest version of an npm package

JavaScript - Released: 09 Oct 2015 - 51

weechat-notification-center

WeeChat script to pass highlights and private messages to the macOS Notification Center

Python - Released: 15 Sep 2012 - 115

park-miller

Park-Miller pseudorandom number generator (PRNG)

JavaScript - Released: 13 Jan 2018 - 54

find-up-cli

Find a file by walking up parent directories

JavaScript - Released: 01 Sep 2015 - 37

sec

Convert a time string to seconds: '0017' → 1337

JavaScript - Released: 30 May 2015 - 35

node-is-camera-on

Check if the built-in Mac camera is on

JavaScript - Released: 24 Apr 2017 - 94