Check if a year is a leap year
Repositories
sindresorhus repositories
Takedown requests and other legal notices for my open source projects
Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm
Measure the difference between two strings using the Levenshtein distance algorithm
Interesting stuff I like on the web
Parse and stringify file paths with line and column like `unicorn.js:8:14`
Linkify GitHub issue references
Linkify URLs in a string
Load multiple grunt tasks using globbing patterns
Read and parse a JSON file
Get the first path that exists on disk of multiple paths
Lock your system from the command-line
Lock your system
Logs your global variables to the console - Bookmarklet / DevTools snippet
Colored symbols for various log levels
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
ES2015 Math.log10() ponyfill
ES2015 Math.log1p() ponyfill
Log distributed notifications on macOS
Make unhandled promise rejections fail loudly instead of the default silent fail