Sindre Sorhus Profile picture
Full-time open-sourcerer. "Work hard. Enjoy life. Be kind.". ❤️ Swift. Makes macOS apps, CLI tools, npm packages. Made @awesome__re. Follow: @sindre_gh_repos
Jun 20, 2023 7 tweets 3 min read
New App

Day Progress — Keep track of the time remaining in your day, right in the menu bar

sindresorhus.com/day-progress

Image
Image
Use it as a visual cue to stay motivated and manage time more efficiently.
Oct 26, 2020 12 tweets 4 min read
Node.js 15 makes 7 of my packages obsolete. This is a good thing. 👌 1. github.com/sindresorhus/d…

You can await setTimeout now:

const {setTimeout} = require('timers/promises');

await setTimeout(1000);
Oct 9, 2019 15 tweets 4 min read
I've been playing with SwiftUI for the past two days and it's really awesome and also really unfinished and buggy. It's especially unfinished for macOS development (no surprise there). I'm super excited about its future though. I've been working on a simple dynamic list view where you can reorder, rename, and delete items, and I already have 10+ Feedback Assistant reports I need to file and a lot of open questions.
Mar 25, 2019 7 tweets 1 min read
Let's take a moment to appreciate how awesome programming is; You can single-handedly build almost anything you can imagine. It's like a superpower. A superpower anyone can acquire. The only constraints are perseverance and time.
May 29, 2018 6 tweets 2 min read
React: Make the simple things hard and the hard things simple React still feels like the prototype of something that one day could be really good. Some things needed to get there (highly IMHO): Async rendering (coming), better components (only one way to do it, no ES6 class components, decoupled state and lifecycle hooks), ...
Dec 10, 2017 7 tweets 2 min read
Node.js' insistence on being familiar to Unix people has hurt its developer experience more than they realize. Even after this many years, the docs are still subpar. Docs for `fs.mkdir` only says: `Asynchronous mkdir(2)` You shouldn't have to be Unix graybeard to use Node.js. `mkdir(2)` does link to the Linux kernel man pages, but you shouldn't have to read Linux kernel docs to use Node.js.