Sindre Sorhus

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

Projects

rev-hash

Create a hash for file revving

JavaScript - Released: 22 May 2015 - 104

unicorn-magic

Some useful utilities I often need

JavaScript - Released: 09 Nov 2023 - 26

any-observable

Support any Observable library and polyfill

JavaScript - Released: 27 Apr 2016 - 70

typescript-definition-style-guide

Style guide for adding type definitions to my npm packages

Released: 20 Aug 2018 - 539

alfred-npms

Alfred 3 workflow to search for npm packages with npms.io

JavaScript - Released: 26 Jun 2016 - 363

tempfile

Get a random temporary file path

JavaScript - Released: 31 Dec 2013 - 77

unique-random

Generate random numbers that are consecutively unique

JavaScript - Released: 13 Nov 2013 - 116

email-regex

Regular expression for matching email addresses

JavaScript - Released: 07 Sep 2014 - 131

gulp-nunjucks

Precompile Nunjucks templates

JavaScript - Released: 30 Dec 2013 - 150

get-port-cli

Get an available port

JavaScript - Released: 26 Oct 2015 - 140

chunkify

Split an iterable into evenly sized chunks

JavaScript - Released: 27 Jan 2021 - 153

copy-file

Copy a file

JavaScript - Released: 28 Jun 2014 - 119

caller-path

Get the path of the caller module

JavaScript - Released: 19 Apr 2014 - 64

global-directory

Get the directory of globally installed packages and binaries

JavaScript - Released: 25 Jun 2017 - 74

macos-release

Get the name and version of a macOS release from the Darwin version

JavaScript - Released: 08 Jun 2014 - 63

is-image

Check if a file path is an image

JavaScript - Released: 17 May 2015 - 89

ink-gradient

Gradient color component for Ink

TypeScript - Released: 02 Apr 2018 - 145

file-icon

Get the icon of a file or app as a PNG image (macOS)

JavaScript - Released: 08 Mar 2017 - 205

macos-trash

Move files and folders to the trash

Swift - Released: 26 Jan 2015 - 359

project-ideas

Need a JavaScript module or looking for ideas? Welcome ✨

Released: 31 May 2015 - 542

p-min-delay

Delay a promise a minimum amount of time

JavaScript - Released: 20 Nov 2016 - 162

p-try

Start a promise chain

JavaScript - Released: 21 Oct 2016 - 50

shell-env

Get environment variables from the shell

JavaScript - Released: 29 Jan 2016 - 79

unstated-debug

Debug your Unstated containers with ease

JavaScript - Released: 03 Apr 2018 - 233

trim-newlines

Trim newlines from the start and/or end of a string

JavaScript - Released: 29 Sep 2015 - 48