Skip to Content

Open Source

Some of my projects that many people use, from Node.js libraries and command-line tools to Swift packages for Mac apps. I also started Awesome, lists of good things about all kinds of topics. My code is part of Node.js itself, Apple’s Books app, the terminal UI of Claude Code and Gemini CLI, and projects of NASA and the BBC. See where my code ended up.

15 years of open source 1.2K+ repos 1.1M+ stars 25B+ npm downloads a week 710K+ dependents

Sindre Sorhus

github.com/sindresorhus

6354 contributions on GitHub in the last year. See every year in the Career Quilt.

HTTP

Requests and connections, in Node.js and the browser.

  • Got

    Human-friendly and powerful HTTP requests for Node.js.

    TypeScript
  • Ky

    A tiny and elegant HTTP client based on the Fetch API.

    TypeScript
  • normalize-url

    Normalize a URL.

    JavaScript
  • fetch-extras

    Useful utilities for working with Fetch.

    JavaScript

Promises and Async

Small packages for async code in JavaScript.

  • p-limit

    Run promise-returning and async functions with limited concurrency.

    JavaScript
  • p-queue

    Promise queue with concurrency control.

    TypeScript
  • p-map

    Map over promises concurrently.

    JavaScript
  • p-retry

    Retry a promise-returning or async function.

    JavaScript
  • p-throttle

    Throttle promise-returning and async functions.

    JavaScript
  • p-progress

    Create a promise that reports progress.

    TypeScript
  • p-memoize

    Memoize promise-returning and async functions.

    TypeScript
  • p-event

    Promisify an event by waiting for it to be emitted.

    JavaScript

Command-Line Tools

Tools to use in the terminal.

  • np

    A better “npm publish”.

    JavaScript
  • Pure

    Pretty, minimal, and fast Zsh prompt.

    Shell
  • fkill

    Fabulously kill processes. Cross-platform.

    JavaScript
  • emoj

    Find relevant emoji from text on the command-line.

    TypeScript

Making Command-Line Apps

Colors, spinners, boxes, and text for your own command-line apps.

  • Chalk

    chalk/chalk

    Terminal string styling done right.

    JavaScript
  • Ora

    Elegant terminal spinner.

    JavaScript
  • meow

    A helper for command-line apps, like for their arguments and help text.

    JavaScript
  • boxen

    Create boxes in the terminal.

    JavaScript
  • log-update

    Log by overwriting the previous output in the terminal, like for progress bars.

    JavaScript
  • string-width

    Get the visual width of a string.

    JavaScript
  • figures

    Unicode symbols with fallbacks for older terminals.

    JavaScript
  • cli-truncate

    Truncate a string to fit a specific number of columns.

    JavaScript

Files

Find, copy, move, and delete files from Node.js.

  • globby

    User-friendly glob matching.

    JavaScript
  • file-type

    Detect the file type of a file, stream, or data.

    JavaScript
  • find-up

    Find a file or directory by walking up parent directories.

    JavaScript
  • trash

    Move files and directories to the trash.

    JavaScript
  • del

    Delete files and directories.

    JavaScript
  • cpy

    Copy files.

    JavaScript
  • move-file

    Move a file, directory, or symlink, also to another device.

    JavaScript
  • tempy

    Get a random temporary file or directory path.

    JavaScript

Processes and the System

Run processes, open things, and use the clipboard from Node.js.

  • Execa

    Process execution for humans.

    JavaScript
  • open

    Open URLs, files, and executables. Cross-platform.

    JavaScript
  • clipboardy

    Access the system clipboard (copy and paste).

    JavaScript
  • get-port

    Get an available TCP port.

    JavaScript

Strings and Formatting

Change strings and show numbers in a format that people can read.

  • slugify

    Slugify a string.

    JavaScript
  • camelcase

    Convert a dash, dot, underscore, or space separated string to camelCase.

    JavaScript
  • pretty-bytes

    Convert bytes to a human-readable string: 1337 → 1.34 kB.

    JavaScript
  • pretty-ms

    Convert milliseconds to a human-readable string: 1337000000 → 15d 11h 23m 20s.

    JavaScript

Objects and Caches

Work with nested objects, cache results, and delay function calls.

  • dot-prop

    Get, set, or delete a property of a nested object with a dot path.

    JavaScript
  • debounce

    Delay function calls until a set time elapses after the last invocation.

    JavaScript
  • quick-lru

    Simple “Least Recently Used” (LRU) cache.

    JavaScript
  • memoize

    Memoize functions, so calls with the same input are faster.

    TypeScript

The Web

For web pages: URLs, the clipboard, the DOM, and CSS.

Images and Screenshots

Screenshots of websites, and images in code and in the terminal.

Linting

Linters and ESLint rules for JavaScript, TypeScript, CSS, and Markdown.

Testing and Types

A test runner, and types and checks for JavaScript and TypeScript.

  • AVA

    avajs/ava

    Node.js test runner that lets you develop with confidence.

    JavaScript
  • type-fest

    A collection of essential TypeScript types.

    TypeScript
  • ts-extras

    Essential utilities for TypeScript projects.

    TypeScript
  • test-extras

    Assertions and utilities that make node:test better.

    JavaScript

File Formats

Two file formats that I made, with their specs. Both are drafts. The Swift implementation of SOML is also listed.

  • SOML

    soml-lang/soml

    A config format for humans. The spec is a draft.

  • Simple Color Palette

    simple-color-palette/spec

    A minimal JSON-based file format for color palettes. The spec is a work in progress.

  • SOML Swift

    soml-lang/SOMLSwift

    A Swift implementation of the SOML format.

    Swift

Swift Packages

Packages for Swift and Mac apps.

  • Defaults

    Swifty and modern UserDefaults.

    Swift
  • KeyboardShortcuts

    Add user-customizable global keyboard shortcuts to your macOS app.

    Swift
  • LaunchAtLogin

    Add “Launch at Login” to your macOS app in seconds.

    Swift
  • DockProgress

    Show progress in the Dock icon of your app.

    Swift
  • Regex

    Swifty regular expressions.

    Swift
  • Percentage

    A percentage type for Swift.

    Swift
  • DSStore

    Read and write macOS .DS_Store files in Swift.

    Swift
  • ExtendedAttributes

    Manage extended attributes in Swift.

    Swift

Mac Tools

Command-line tools and packages for macOS.

  • create-dmg

    Create a good-looking DMG for your macOS app in seconds.

    JavaScript
  • macos-trash

    Move files and folders to the trash from the command line.

    Swift
  • macos-wallpaper

    Manage the desktop wallpaper on macOS.

    Swift

Apps

My apps on GitHub. See my apps for developers.

Awesome Lists

Lists of good things about a topic, like Node.js packages and sci-fi.

Just for Fun

Small packages that make code more fun.

  • cat-names

    Get popular cat names.

    JavaScript
  • dog-names

    Get popular dog names.

    JavaScript
  • cows

    ASCII cows.

    JavaScript
  • superb

    Get superb-like words.

    JavaScript

All npm Packages

The 1068 packages with a repository that I maintain on npm, most downloaded first.

  • ansi-stylesANSI escape codes for styling strings in the terminal
    950M+ downloads a week
  • string-widthGet the visual width of a string - the number of columns required to display it
    740M+ downloads a week
  • strip-ansiStrip ANSI escape codes from a string
    720M+ downloads a week
  • ansi-regexRegular expression for matching ANSI escape codes
    710M+ downloads a week
  • supports-colorDetect whether a terminal supports color
    680M+ downloads a week
  • chalkTerminal string styling done right
    650M+ downloads a week
  • wrap-ansiWordwrap a string with ANSI escape codes
    620M+ downloads a week
  • type-festA collection of essential TypeScript types
    540M+ downloads a week
  • escape-string-regexpEscape RegExp special characters
    510M+ downloads a week
  • p-limitRun multiple promise-returning & async functions with limited concurrency
    460M+ downloads a week
  • find-upFind a file or directory by walking up parent directories
    440M+ downloads a week
  • locate-pathGet the first path that exists on disk of multiple paths
    430M+ downloads a week
  • path-keyGet the PATH environment variable key cross-platform
    430M+ downloads a week
  • p-locateGet the first fulfilled promise that satisfies the provided testing function
    430M+ downloads a week
  • has-flagCheck if argv has a specific flag
    410M+ downloads a week
  • is-fullwidth-code-pointCheck if the character represented by a given Unicode code point is fullwidth
    360M+ downloads a week
  • shebang-regexRegular expression for matching a shebang line
    350M+ downloads a week
  • globalsGlobal identifiers from different JavaScript environments
    330M+ downloads a week
  • resolve-fromResolve the path of a module like require.resolve() but from a given path
    320M+ downloads a week
  • path-existsCheck if a path exists
    310M+ downloads a week
  • is-streamCheck if something is a Node.js stream
    290M+ downloads a week
  • strip-json-commentsStrip comments from JSON. Lets you use comments in your JSON files!
    290M+ downloads a week
  • get-streamGet a stream as a string, Buffer, ArrayBuffer or array
    290M+ downloads a week
  • yocto-queueTiny queue data structure
    280M+ downloads a week
  • onetimeEnsure a function is only called once
    270M+ downloads a week
  • camelcaseConvert a dash/dot/underscore/space separated string to camelCase or PascalCase: foo-bar → fooBar
    250M+ downloads a week
  • execaProcess execution for humans
    240M+ downloads a week
  • object-assignES2015 Object.assign() ponyfill
    240M+ downloads a week
  • openOpen stuff like URLs, files, executables. Cross-platform.
    230M+ downloads a week
  • npm-run-pathGet your PATH prepended with locally installed binaries
    220M+ downloads a week
  • strip-bomStrip UTF-8 byte order mark (BOM) from a string
    220M+ downloads a week
  • is-wslCheck if the process is running inside Windows Subsystem for Linux (Bash on Windows)
    210M+ downloads a week
  • is-dockerCheck if the process is running inside a Docker container
    200M+ downloads a week
  • callsitesGet callsites from the V8 stack trace API
    200M+ downloads a week
  • strip-final-newlineStrip the final newline character from a string or Uint8Array
    200M+ downloads a week
  • import-freshImport a module while bypassing the cache
    190M+ downloads a week
  • merge-descriptorsMerge objects using their property descriptors
    190M+ downloads a week
  • parse-jsonParse JSON with more helpful errors
    190M+ downloads a week
  • is-plain-objCheck if a value is a plain object
    190M+ downloads a week
  • parent-moduleGet the path of the parent module
    180M+ downloads a week
  • is-unicode-supportedDetect whether the terminal supports Unicode
    180M+ downloads a week
  • make-dirMake a directory and its parents if needed - Think mkdir -p
    180M+ downloads a week
  • cli-cursorToggle the CLI cursor
    180M+ downloads a week
  • restore-cursorGracefully restore the CLI cursor on exit
    180M+ downloads a week
  • ansi-escapesANSI escape codes for manipulating the terminal
    170M+ downloads a week
  • slashConvert Windows backslash paths to slash paths
    170M+ downloads a week
  • define-lazy-propDefine a lazily evaluated property on an object
    160M+ downloads a week
  • slice-ansiSlice a string with ANSI escape codes
    150M+ downloads a week
  • log-symbolsColored symbols for various log levels. Example: ✔︎ Success
    150M+ downloads a week
  • indent-stringIndent each line in a string
    150M+ downloads a week
  • p-tryStart a promise chain
    140M+ downloads a week
  • env-pathsGet paths for storing things like data, config, cache, etc
    140M+ downloads a week
  • strip-indentStrip leading whitespace from each line in a string
    140M+ downloads a week
  • oraElegant terminal spinner
    140M+ downloads a week
  • get-east-asian-widthDetermine the East Asian Width of a Unicode character
    130M+ downloads a week
  • error-exEasy error subclassing and stack customization
    130M+ downloads a week
  • path-typeCheck if a path is a file, directory, or symlink
    130M+ downloads a week
  • pifyPromisify a callback-style function
    120M+ downloads a week
  • cli-spinnersSpinners for use in the terminal
    120M+ downloads a week
  • figuresUnicode symbols with fallbacks for older terminals
    120M+ downloads a week
  • wsl-utilsUtilities for working with Windows Subsystem for Linux (WSL)
    110M+ downloads a week
  • globbyUser-friendly glob matching
    110M+ downloads a week
  • binary-extensionsList of binary file extensions
    110M+ downloads a week
  • is-binary-pathCheck if a file path is a binary file
    100M+ downloads a week
  • is-interactiveCheck if stdout or stderr is interactive
    100M+ downloads a week
  • mimic-responseMimic a Node.js HTTP response stream
    100M+ downloads a week
  • p-mapMap over promises concurrently
    100M+ downloads a week
  • redentStrip redundant indentation and indent the string
    100M+ downloads a week
  • @sindresorhus/isType check values
    100M+ downloads a week
  • default-browserGet the default browser
    100M+ downloads a week
  • unicorn-magicSome useful utilities I often need
    100M+ downloads a week
  • is-inside-containerCheck if the process is running inside a container (Docker/Podman)
    100M+ downloads a week
  • min-indentGet the shortest leading whitespace from lines in a string
    100M+ downloads a week
  • default-browser-idGet the bundle identifier of the default browser (macOS). Example: com.apple.Safari
    100M+ downloads a week
  • run-applescriptRun AppleScript and get the result
    99M+ downloads a week
  • bundle-nameGet bundle name from a bundle identifier (macOS): com.apple.Safari → Safari
    98M+ downloads a week
  • decamelizeConvert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
    94M+ downloads a week
  • levenMeasure the difference between two strings using the Levenshtein distance algorithm
    92M+ downloads a week
  • is-objCheck if a value is an object
    92M+ downloads a week
  • is-path-insideCheck if a path is inside another path
    90M+ downloads a week
  • file-typeDetect the file type of a file, stream, or data
    82M+ downloads a week
  • dot-propGet, set, or delete a property from a nested object using a dot path
    82M+ downloads a week
  • decompress-responseDecompress a HTTP response if needed
    77M+ downloads a week
  • p-retryRetry a promise-returning or async function
    77M+ downloads a week
  • defaultsEasily handle defaults for your options
    77M+ downloads a week
  • mimic-functionMake a function mimic another one
    77M+ downloads a week
  • array-unionCreate an array of unique values, in order, from the input arrays
    76M+ downloads a week
  • yoctocolorsThe smallest and fastest command-line coloring package on the internet
    75M+ downloads a week
  • p-timeoutTimeout a promise after a specified amount of time
    73M+ downloads a week
  • cli-truncateTruncate a string to a specific width in the terminal
    73M+ downloads a week
  • thenify-allPromisifies all the selected functions in an object
    72M+ downloads a week
  • mzmodernize node.js to current ECMAScript standards
    72M+ downloads a week
  • @sindresorhus/merge-streamsMerge multiple streams into a unified stream
    71M+ downloads a week
  • string-lengthGet the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
    70M+ downloads a week
  • pretty-msConvert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s
    70M+ downloads a week
  • tagged-tagUnique tag for use in the type-fest Tagged type
    69M+ downloads a week
  • parse-msParse milliseconds into an object
    68M+ downloads a week
  • arrifyConvert a value to an array
    66M+ downloads a week
  • import-localLet a globally installed package use a locally installed version of itself if available
    64M+ downloads a week
  • powershell-utilsUtilities for executing PowerShell commands
    64M+ downloads a week
  • quick-lruSimple “Least Recently Used” (LRU) cache
    63M+ downloads a week
  • resolve-cwdResolve the path of a module like require.resolve() but from the current working directory
    63M+ downloads a week
  • normalize-urlNormalize a URL
    62M+ downloads a week
  • read-pkgRead a package.json file
    62M+ downloads a week
  • detect-newlineDetect the dominant newline character of a string
    62M+ downloads a week
  • emitterySimple and modern async event emitter
    62M+ downloads a week
  • supports-hyperlinksDetect whether a terminal supports hyperlinks
    61M+ downloads a week
  • environmentCheck which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
    61M+ downloads a week
  • clean-stackClean up error stack traces
    60M+ downloads a week
  • log-updateLog by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
    60M+ downloads a week
  • p-queuePromise queue with concurrency control
    58M+ downloads a week
  • ynParse yes/no like values
    58M+ downloads a week
  • widest-lineGet the visual width of the widest line in a string - the number of columns required to display it
    57M+ downloads a week
  • uint8array-extrasUseful utilities for working with Uint8Array (and Buffer)
    57M+ downloads a week
  • serialize-errorSerialize/deserialize an error into a plain object
    57M+ downloads a week
  • is-generator-fnCheck if something is a generator function
    55M+ downloads a week
  • lowercase-keysLowercase the keys of an object
    54M+ downloads a week
  • gotHuman-friendly and powerful HTTP request library for Node.js
    53M+ downloads a week
  • stdin-discarderDiscard stdin input except for Ctrl+C
    53M+ downloads a week
  • is-in-sshCheck if the process is running in an SSH session
    50M+ downloads a week
  • p-cancelableCreate a promise that can be canceled
    49M+ downloads a week
  • meowCLI app helper
    49M+ downloads a week
  • aggregate-errorCreate an error from multiple errors
    48M+ downloads a week
  • cli-boxesBoxes for use in the terminal
    47M+ downloads a week
  • responselikeA response-like object for mocking a Node.js HTTP response stream
    47M+ downloads a week
  • is-regexpCheck if a value is a regular expression
    44M+ downloads a week
  • component-emitterSimple event emitter
    44M+ downloads a week
  • pretty-bytesConvert bytes to a human readable string: 1337 → 1.34 kB
    43M+ downloads a week
  • yoctocolors-cjsCommonJS version - The smallest and fastest command-line coloring package on the internet
    42M+ downloads a week
  • http2-wrapperHTTP2 client, just with the familiar https API
    41M+ downloads a week
  • stringify-objectStringify an object/array like JSON.stringify just without all the double-quotes
    40M+ downloads a week
  • boxenCreate boxes in the terminal
    40M+ downloads a week
  • crypto-random-stringGenerate a cryptographically strong random string
    39M+ downloads a week
  • unique-stringGenerate a unique random string
    39M+ downloads a week
  • map-objMap object keys and values into a new object
    39M+ downloads a week
  • get-portGet an available port
    37M+ downloads a week
  • is-installed-globallyCheck if your package was installed globally
    37M+ downloads a week
  • debounceDelay function calls until a set time elapses after the last invocation
    34M+ downloads a week
  • detect-indentDetect the indentation of code
    34M+ downloads a week
  • terminal-linkCreate clickable links in the terminal
    33M+ downloads a week
  • global-directoryGet the directory of globally installed packages and binaries
    33M+ downloads a week
  • xdg-basedirGet XDG Base Directory paths
    30M+ downloads a week
  • throttleitThrottle a function to limit its execution rate
    29M+ downloads a week
  • builtin-modulesA static list of the Node.js builtin modules from the latest Node.js version
    29M+ downloads a week
  • query-stringParse and stringify URL query strings
    28M+ downloads a week
  • confSimple config handling for your app or module
    28M+ downloads a week
  • index-to-positionConvert a string index to its line and column position
    28M+ downloads a week
  • debounce-fnDebounce a function
    28M+ downloads a week
  • is-network-errorCheck if a value is a Fetch network error
    27M+ downloads a week
  • load-json-fileRead and parse a JSON file
    27M+ downloads a week
  • clone-responseClone a Node.js HTTP response stream
    26M+ downloads a week
  • registry-urlGet the set npm registry URL
    26M+ downloads a week
  • temp-dirGet the real path of the system temp directory
    26M+ downloads a week
  • filter-objFilter object keys and values into a new object
    26M+ downloads a week
  • gzip-sizeGet the gzipped size of a string or buffer
    26M+ downloads a week
  • configstoreEasily load and save config without having to think about where and how
    26M+ downloads a week
  • yocto-spinnerTiny terminal spinner
    24M+ downloads a week
  • import-lazyImport a module lazily
    23M+ downloads a week
  • untildifyConvert a tilde path to an absolute path: ~/dev → /Users/sindresorhus/dev
    23M+ downloads a week
  • camelcase-keysConvert object keys to camel case
    23M+ downloads a week
  • auto-bindAutomatically bind methods to their class instance
    22M+ downloads a week
  • find-up-simpleFind a file or directory by walking up parent directories — Zero dependencies
    22M+ downloads a week
  • split-on-firstSplit a string on the first occurance of a given separator
    22M+ downloads a week
  • to-fast-propertiesForce V8 to use fast properties for an object
    21M+ downloads a week
  • is-retry-allowedCheck whether a request can be retried based on the error.code
    21M+ downloads a week
  • matcherSimple wildcard matching
    21M+ downloads a week
  • tempyGet a random temporary file or directory path
    21M+ downloads a week
  • sort-keysSort the keys of an object
    20M+ downloads a week
  • escape-goatEscape a string for use in HTML or the inverse
    20M+ downloads a week
  • get-own-enumerable-keysLike Object.keys() but also includes symbols
    19M+ downloads a week
  • trim-newlinesTrim newlines from the start and/or end of a string
    19M+ downloads a week
  • p-eventPromisify an event by waiting for it to be emitted
    19M+ downloads a week
  • convert-hrtimeConvert the result of process.hrtime.bigint() to seconds, milliseconds, nanoseconds
    19M+ downloads a week
  • p-deferCreate a deferred promise
    19M+ downloads a week
  • html-tagsList of standard HTML tags
    19M+ downloads a week
  • time-spanSimplified high resolution timing
    18M+ downloads a week
  • get-stdinGet stdin as a string or Uint8Array
    17M+ downloads a week
  • ip-regexRegular expression for matching IP addresses (IPv4 & IPv6)
    17M+ downloads a week
  • markdown-extensionsList of Markdown file extensions
    17M+ downloads a week
  • filenamifyConvert a string to a valid safe filename
    16M+ downloads a week
  • filename-reserved-regexRegular expression for matching reserved filename characters
    16M+ downloads a week
  • has-ansiCheck if a string has ANSI escape codes
    16M+ downloads a week
  • skin-toneChange the skin tone of an emoji 👌👌🏻👌🏼👌🏽👌🏾👌🏿
    16M+ downloads a week
  • import-fromImport a module like with require() but from a given path
    16M+ downloads a week
  • is-npmCheck if your code is running as an npm script
    16M+ downloads a week
  • decamelize-keysConvert object keys from camel case
    15M+ downloads a week
  • package-jsonGet metadata of a package from the npm registry
    15M+ downloads a week
  • pupaSimple micro templating
    15M+ downloads a week
  • find-versionsFind semver versions in a string: unicorn v1.2.3 → 1.2.3
    15M+ downloads a week
  • chalk-templateTerminal string styling with tagged template literals
    15M+ downloads a week
  • semver-regexRegular expression for matching semver versions
    14M+ downloads a week
  • hard-rejectionMake unhandled promise rejections fail hard right away instead of the default silent fail
    14M+ downloads a week
  • delDelete files and directories
    14M+ downloads a week
  • exit-hookRun some code when the process exits
    14M+ downloads a week
  • hashaHashing made simple. Get the hash of a buffer/string/stream/file.
    13M+ downloads a week
  • p-filterFilter promises concurrently
    13M+ downloads a week
  • is-path-cwdCheck if a path is the current working directory
    13M+ downloads a week
  • super-regexMake a regular expression time out if it takes too long to execute
    13M+ downloads a week
  • function-timeoutMake a synchronous function have a timeout
    13M+ downloads a week
  • latest-versionGet the latest version of an npm package
    13M+ downloads a week
  • is-builtin-moduleCheck if a string matches the name of a Node.js builtin module
    12M+ downloads a week
  • read-package-upRead the closest package.json file
    12M+ downloads a week
  • is-in-ciCheck if the process is running in a Continuous Integration (CI) environment
    12M+ downloads a week
  • has-yarnCheck if a project is using Yarn
    11M+ downloads a week
  • update-notifierUpdate notifications for your CLI app
    11M+ downloads a week
  • text-extensionsList of text file extensions
    11M+ downloads a week
  • make-asynchronousMake a synchronous function asynchronous by running it in a worker
    11M+ downloads a week
  • kyTiny and elegant HTTP client based on the Fetch API
    10M+ downloads a week
  • dargsReverse minimist. Convert an object of options into an array of command-line arguments.
    10M+ downloads a week
  • prepend-httpPrepend https:// to humanized URLs like sindresorhus.com and localhost
    10M+ downloads a week
  • is-text-pathCheck if a file path is a text file
    10M+ downloads a week
  • is-absolute-urlCheck if a URL is absolute
    10M+ downloads a week
  • inkReact for CLI
    10M+ downloads a week
  • eslint-plugin-unicornMore than 300 powerful ESLint rules
    9.9M+ downloads a week
  • semver-truncateTruncate a semver version: 1.2.3 → 1.2.0
    9.8M+ downloads a week
  • default-require-extensionsNode's default require extensions as a separate module
    9.7M+ downloads a week
  • append-transformInstall a transform to require.extensions that always runs last, even if additional extensions are added later.
    9.7M+ downloads a week
  • array-differCreate an array with values that are present in the first input array but not additional ones
    9.3M+ downloads a week
  • p-throttleThrottle promise-returning & async functions
    9.1M+ downloads a week
  • array-uniqCreate an array without duplicates
    9.1M+ downloads a week
  • caching-transformWraps a transform and provides caching
    9.1M+ downloads a week
  • byte-counterCount bytes passing through a stream
    9M+ downloads a week
  • hex-rgbConvert HEX color to RGBA
    8.8M+ downloads a week
  • clipboardyAccess the system clipboard (copy/paste)
    8.8M+ downloads a week
  • multimatchExtends minimatch.match() with support for multiple patterns
    8.8M+ downloads a week
  • p-is-promiseCheck if something is a promise
    8.6M+ downloads a week
  • p-reduceReduce a list of values using promises into a promise for a value
    8.6M+ downloads a week
  • url-parse-laxLax URL parsing with support for protocol-less URLs and IPs
    8.3M+ downloads a week
  • array-find-indexES2015 Array#findIndex() ponyfill
    8.3M+ downloads a week
  • which-commandFind the absolute path to a command's executable, like the Unix which command
    7.8M+ downloads a week
  • reserved-identifiersProvides a list of reserved identifiers for JavaScript
    7.8M+ downloads a week
  • system-architectureGet the operating system CPU architecture
    7.7M+ downloads a week
  • delayDelay a promise a specified amount of time
    7.7M+ downloads a week
  • duplexer3Modern version of duplexer2
    7.2M+ downloads a week
  • caller-pathGet the path of the caller function
    7.1M+ downloads a week
  • terminal-sizeReliably get the terminal window size (columns & rows)
    6.9M+ downloads a week
  • stream-to-arrayConcatenate a readable stream's data into a single array
    6.8M+ downloads a week
  • tildifyConvert an absolute path to a tilde path: /Users/sindresorhus/dev → ~/dev
    6.8M+ downloads a week
  • screenfullSimple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen.
    6.6M+ downloads a week
  • p-each-seriesIterate over promises serially
    6.6M+ downloads a week
  • is-safe-filenameCheck if a filename is safe to use in a path join operation
    6.5M+ downloads a week
  • is-url-superbCheck if a string is a URL
    6.5M+ downloads a week
  • junkFilter out system junk files like .DS_Store and Thumbs.db
    6.3M+ downloads a week
  • @sindresorhus/slugifySlugify a string
    6.2M+ downloads a week
  • caller-callsiteGet the callsite of the caller function
    6M+ downloads a week
  • @sindresorhus/transliterateConvert Unicode characters to Latin characters using transliteration
    5.9M+ downloads a week
  • os-localeGet the system locale
    5.8M+ downloads a week
  • into-streamConvert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
    5.7M+ downloads a week
  • to-readable-streamConvert a value to a ReadableStream
    5.6M+ downloads a week
  • is-path-in-cwdCheck if a path is in the current working directory
    5.5M+ downloads a week
  • non-errorAn error subclass for wrapping non-error values
    5.5M+ downloads a week
  • invert-kvInvert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}
    5.5M+ downloads a week
  • binary-version-checkCheck whether a binary version satisfies a semver range
    5.5M+ downloads a week
  • binary-versionGet the version of a binary in semver format
    5.5M+ downloads a week
  • lcidMapping between standard locale identifiers and Windows locale identifiers (LCID)
    5.4M+ downloads a week
  • trim-repeatedTrim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
    5.4M+ downloads a week
  • strip-outerStrip a substring from the start/end of a string
    5.4M+ downloads a week
  • nano-spawnTiny process execution for humans — a better child_process
    5.4M+ downloads a week
  • is-rootCheck if the process is running as root user, for example, one started with sudo
    5.2M+ downloads a week
  • is-port-reachableCheck if a local or remote port is reachable
    5.2M+ downloads a week
  • repeatingRepeat a string - fast
    4.8M+ downloads a week
  • @sindresorhus/base62Encode & decode strings, bytes, and integers to Base62
    4.6M+ downloads a week
  • to-valid-identifierConvert a string to a valid JavaScript identifier
    4.6M+ downloads a week
  • loud-rejectionMake unhandled promise rejections fail loudly instead of the default silent fail
    4.5M+ downloads a week
  • identifier-regexRegular expression for matching JavaScript identifiers
    4.4M+ downloads a week
  • has-own-propA safer .hasOwnProperty()
    4.4M+ downloads a week
  • hook-stdHook and modify stdout and stderr
    4.1M+ downloads a week
  • component-typeType assertions aka less-broken typeof
    4M+ downloads a week
  • modify-valuesModify the values of an object
    4M+ downloads a week
  • import-cwdImport a module like with require() but from the current working directory
    4M+ downloads a week
  • timed-outTimeout HTTP/HTTPS requests
    3.9M+ downloads a week
  • os-nameGet the name of the current operating system. Example: macOS Sierra
    3.8M+ downloads a week
  • is-observableCheck if a value is an Observable
    3.8M+ downloads a week
  • windows-releaseGet the name of a Windows version from the release number: 5.1.2600 → XP
    3.8M+ downloads a week
  • on-changeWatch an object or array for changes
    3.7M+ downloads a week
  • is-ipCheck if a string is an IP address
    3.7M+ downloads a week
  • clone-regexpClone and modify a RegExp instance
    3.5M+ downloads a week
  • macos-releaseGet the name and version of a macOS release from the Darwin version
    3.5M+ downloads a week
  • env-editorGet metadata on the default editor or a specific editor
    3.4M+ downloads a week
  • internal-ipGet your internal IP address
    3.2M+ downloads a week
  • titleizeCapitalize every word in a string: unicorn cake → Unicorn Cake
    3.2M+ downloads a week
  • elegant-spinnerElegant spinner for interactive CLI apps
    3.1M+ downloads a week
  • resolve-globalResolve the path of a globally installed module
    3.1M+ downloads a week
  • p-wait-forWait for a condition to be true
    3M+ downloads a week
  • quote-js-stringEscape a string and wrap it in quotes to produce a safe JavaScript string literal
    3M+ downloads a week
  • is64bitCheck whether operating system CPU architecture is 64-bit or 32-bit (Supports browsers)
    3M+ downloads a week
  • git-remote-origin-urlGet the remote origin URL of a Git repository
    3M+ downloads a week
  • is-identifierCheck if a string is a valid JavaScript identifier
    2.9M+ downloads a week
  • plurPluralize a word
    2.9M+ downloads a week
  • srcsetParse and stringify the HTML <img> srcset attribute
    2.9M+ downloads a week
  • any-observableSupport any Observable library and polyfill
    2.8M+ downloads a week
  • memoizeMemoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
    2.7M+ downloads a week
  • irregular-pluralsMap of nouns to their irregular plural form
    2.7M+ downloads a week
  • first-chunk-streamBuffer and transform the n first bytes of a stream
    2.6M+ downloads a week
  • owFunction argument validation for humans
    2.5M+ downloads a week
  • array-equalCheck if two arrays are equal
    2.5M+ downloads a week
  • p-allRun promise-returning & async functions concurrently with optional limited concurrency
    2.5M+ downloads a week
  • ink-spinnerSpinner component for Ink
    2.4M+ downloads a week
  • strip-bom-streamStrip UTF-8 byte order mark (BOM) from a stream
    2.4M+ downloads a week
  • package-directoryFind the root directory of a Node.js project or npm package
    2.3M+ downloads a week
  • p-pipeCompose promise-returning & async functions into a reusable pipeline
    2.2M+ downloads a week
  • ink-text-inputText input component for Ink
    2.2M+ downloads a week
  • write-json-fileStringify and write JSON to a file atomically
    2.2M+ downloads a week
  • p-memoizeMemoize promise-returning & async functions
    2.1M+ downloads a week
  • strip-bom-bufStrip UTF-8 byte order mark (BOM) from a Uint8Array
    2.1M+ downloads a week
  • execallFind multiple RegExp matches in a string
    2M+ downloads a week
  • url-extrasBrowser-compatible implementations of some of Node.js' URL utilities
    1.9M+ downloads a week
  • copy-text-to-clipboardCopy text to the clipboard in modern browsers (0.2 kB)
    1.9M+ downloads a week
  • set-immediate-shimSimple setImmediate shim
    1.9M+ downloads a week
  • capture-stack-traceError.captureStackTrace ponyfill
    1.9M+ downloads a week
  • is-redirectCheck if a number is a redirect HTTP status code
    1.9M+ downloads a week
  • home-or-tmpGet the user home directory with fallback to the system temp directory
    1.8M+ downloads a week
  • find-cache-directoryFinds the common standard cache directory
    1.8M+ downloads a week
  • cpyCopy files
    1.8M+ downloads a week
  • image-dimensionsGet the dimensions of an image
    1.7M+ downloads a week
  • is-svgCheck if a string is SVG
    1.7M+ downloads a week
  • p-map-seriesMap over promises serially
    1.7M+ downloads a week
  • ps-listGet running processes
    1.6M+ downloads a week
  • electron-storeSimple data persistence for your Electron app or module - Save and load user settings, app state, cache, etc
    1.6M+ downloads a week
  • tempfileGet a random temporary file path
    1.5M+ downloads a week
  • clear-moduleClear a module from the cache
    1.5M+ downloads a week
  • @sindresorhus/fnv1aFNV-1a non-cryptographic hash function
    1.4M+ downloads a week
  • chunk-dataSplit buffers and streams into smaller chunks
    1.4M+ downloads a week
  • vinyl-fileCreate a vinyl file from an actual file
    1.4M+ downloads a week
  • is-htmlCheck if a string is HTML
    1.3M+ downloads a week
  • ink-testing-libraryUtilities for testing Ink apps
    1.3M+ downloads a week
  • p-someWait for a specified number of promises to be fulfilled
    1.2M+ downloads a week
  • p-anyWait for any promise to be fulfilled
    1.2M+ downloads a week
  • resolve-pkgResolve the path of a package regardless of it having an entry point
    1.2M+ downloads a week
  • yeoman-environmentHandles the lifecyle and bootstrapping of generators in a specific environment
    1.2M+ downloads a week
  • fn-nameGet the name of a named function
    1.2M+ downloads a week
  • p-waterfallRun promise-returning & async functions in series, each passing its result to the next
    1.2M+ downloads a week
  • yeoman-generatorRails-inspired generator system that provides scaffolding for your apps
    1.2M+ downloads a week
  • copy-fileCopy a file
    1.2M+ downloads a week
  • file-urlConvert a file path to a file url: unicorn.jpg → file:///Users/sindresorhus/unicorn.jpg
    1.1M+ downloads a week
  • extract-stackExtract the actual stack of an error
    1.1M+ downloads a week
  • new-github-release-urlGenerate a URL for opening a new GitHub release with prefilled tag, body, and other fields
    1.1M+ downloads a week
  • component-indexofMicrosoft sucks
    1M+ downloads a week
  • array-parallelCall an array of asynchronous functions in parallel
    1M+ downloads a week
  • array-seriesCall an array of asynchronous functions in series
    1M+ downloads a week
  • p-reflectMake a promise always fulfill with its actual fulfillment value or rejection reason
    1M+ downloads a week
  • imageminMinify images seamlessly
    1M+ downloads a week
  • usernameGet the username of the current user
    990K+ downloads a week
  • ink-select-inputSelect input component for Ink
    970K+ downloads a week
  • public-ipGet your public IP address — very fast!
    970K+ downloads a week
  • spdx-license-listList of SPDX licenses
    960K+ downloads a week
  • parse-github-repo-urlParse a GitHub URL for user/project@version
    920K+ downloads a week
  • p-debounceDebounce promise-returning & async functions
    910K+ downloads a week
  • date-timePretty datetime: 2014-01-09 06:46:01
    900K+ downloads a week
  • presentable-errorMake presentable errors
    890K+ downloads a week
  • md5-hexCreate a MD5 hash with hex encoding
    890K+ downloads a week
  • passthrough-counterGet the total buffer length of a stream.
    880K+ downloads a week
  • eslint-formatter-prettyPretty formatter for ESLint
    870K+ downloads a week
  • is-blobCheck if a value is a Blob
    870K+ downloads a week
  • time-zonePretty time zone: +2 or -9:30
    860K+ downloads a week
  • p-settleSettle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency
    850K+ downloads a week
  • scoped-regexRegular expression for matching scoped npm package names
    840K+ downloads a week
  • is-scopedCheck if a string is a scoped npm package name
    840K+ downloads a week
  • del-cliDelete files and directories - Cross-platform
    800K+ downloads a week
  • temp-writeWrite data to a random temporary file
    790K+ downloads a week
  • github-usernameGet a GitHub username from an email address
    750K+ downloads a week
  • domifyTurn a HTML string into DOM elements, cross-platform
    750K+ downloads a week
  • split-linesSplit lines into an array of lines
    750K+ downloads a week
  • beeperMake your terminal beep
    740K+ downloads a week
  • maxminGet a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)
    730K+ downloads a week
  • electron-is-devCheck if Electron is running in development
    720K+ downloads a week
  • eslint-config-googleESLint shareable config for the Google style
    700K+ downloads a week
  • @inkjs/uiCollection of customizable UI components for CLIs made with Ink
    700K+ downloads a week
  • default-shellGet the user's default shell
    690K+ downloads a week
  • is-relative-urlCheck if a URL is relative
    680K+ downloads a week
  • to-rotatedRotate an array by a given number of steps
    660K+ downloads a week
  • cpy-cliCopy files
    650K+ downloads a week
  • escape-string-applescriptEscape a string for use in AppleScript
    650K+ downloads a week
  • display-notificationDisplay a notification (macOS)
    640K+ downloads a week
  • bin-buildEasily build binaries
    640K+ downloads a week
  • read-chunkRead a chunk from a file
    610K+ downloads a week
  • humanize-stringConvert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz
    610K+ downloads a week
  • shell-envGet environment variables from the shell
    600K+ downloads a week
  • modern-normalizeNormalize browsers' default style
    600K+ downloads a week
  • tsdCheck TypeScript type definitions
    590K+ downloads a week
  • random-intGenerate a random integer
    580K+ downloads a week
  • grunt-contrib-watchRun predefined tasks whenever watched file patterns are added, changed or deleted
    580K+ downloads a week
  • is-waylandCheck if the current Linux session is using Wayland
    570K+ downloads a week
  • imagemin-svgoSVGO imagemin plugin
    560K+ downloads a week
  • is-supported-regexp-flagCheck whether a RegExp flag is supported
    560K+ downloads a week
  • fn-argsGet the arguments of a function, arrow function, generator function, async function
    560K+ downloads a week
  • avaNode.js test runner that lets you develop with confidence.
    560K+ downloads a week
  • macos-versionGet or check the current macOS version
    550K+ downloads a week
  • array-moveMove an array item to a different position
    550K+ downloads a week
  • run-nodeRun the Node.js binary no matter what
    540K+ downloads a week
  • unused-filenameGet an unused filename by appending a number if it exists: file.txt → file (1).txt
    540K+ downloads a week
  • electron-dlSimplified file downloads for your Electron app
    540K+ downloads a week
  • move-fileMove a file, directory, or symlink - Even works across devices
    530K+ downloads a week
  • crypto-hashTiny hashing module that uses the native crypto API in Node.js and the browser
    530K+ downloads a week
  • sort-onSort an array on an object property
    530K+ downloads a week
  • is-pngCheck if a Buffer/Uint8Array is a PNG image
    530K+ downloads a week
  • run-jxaRun JXAcode and get the result
    520K+ downloads a week
  • subsumeEmbed data in other data and easily extract it when needed
    520K+ downloads a week
  • clipboard-imageGet and set images on the macOS clipboard
    510K+ downloads a week
  • pid-portGet the ID of the process that uses a certain port
    500K+ downloads a week
  • grunt-contrib-copyCopy files and folders
    500K+ downloads a week
  • github-markdown-cssThe minimal amount of CSS to replicate the GitHub Markdown style
    500K+ downloads a week
  • electron-context-menuContext menu for your Electron app
    480K+ downloads a week
  • is-jpgCheck if a Buffer/Uint8Array is a JPEG image
    480K+ downloads a week
  • grunt-contrib-cleanClean files and folders
    480K+ downloads a week
  • import-modulesImport all modules in a directory
    470K+ downloads a week
  • is-onlineCheck if the internet connection is up
    470K+ downloads a week
  • yosayTell Yeoman what to say
    470K+ downloads a week
  • gifsiclegifsicle wrapper that makes it seamlessly available as a local dependency
    460K+ downloads a week
  • new-github-issue-urlGenerate a URL for opening a new GitHub issue with prefilled title, body, and other fields
    450K+ downloads a week
  • replace-stringReplace all substring matches in a string
    440K+ downloads a week
  • streaming-json-stringifyStreaming JSON.stringify()
    440K+ downloads a week
  • optipng-binOptiPNG wrapper that makes it seamlessly available as a local dependency
    430K+ downloads a week
  • grunt-contrib-concatConcatenate files.
    430K+ downloads a week
  • imagemin-optipngImagemin plugin for OptiPNG
    430K+ downloads a week
  • is-gifCheck if a Buffer/Uint8Array is a GIF image
    420K+ downloads a week
  • imagemin-gifsicleImagemin plugin for Gifsicle
    420K+ downloads a week
  • @sindresorhus/dfGet free disk space info from df -kP
    410K+ downloads a week
  • eslint-config-xoESLint shareable config for XO
    400K+ downloads a week
  • passwd-userGet the passwd user entry from a username or user identifier (UID)
    380K+ downloads a week
  • null-checkEnsure a path doesn't contain null bytes
    380K+ downloads a week
  • fullnameGet the fullname of the current user
    380K+ downloads a week
  • yoCLI tool for running Yeoman generators
    370K+ downloads a week
  • npm-keywordGet a list of npm packages with keywords
    370K+ downloads a week
  • sudo-blockBlock users from running your app with root permissions
    370K+ downloads a week
  • downgrade-rootTry to downgrade the permissions of a process with root privileges
    370K+ downloads a week
  • parse-helpParse CLI help output
    360K+ downloads a week
  • yeoman-doctorDetect potential issues with users system that could prevent Yeoman from working correctly
    360K+ downloads a week
  • default-uidGet the system default UID
    360K+ downloads a week
  • root-checkTry to downgrade the permissions of a process with root privileges and block access if it fails
    360K+ downloads a week
  • yeoman-characterThe Yeoman character in your CLI. Like wat.
    360K+ downloads a week
  • strip-json-comments-cliStrip comments from JSON. Lets you use comments in your JSON files!
    350K+ downloads a week
  • rgb-hexConvert RGB(A) color to HEX
    350K+ downloads a week
  • certifiA carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It has been extracted from the Python Requests project
    340K+ downloads a week
  • image-typeDetect the image type of an ArrayBuffer/Uint8Array
    330K+ downloads a week
  • gh-gotConvenience wrapper for Got to interact with the GitHub API
    330K+ downloads a week
  • open-editorOpen files in your editor at a specific line and column
    320K+ downloads a week
  • gulp-babelUse next generation JavaScript, today
    320K+ downloads a week
  • open-cliOpen stuff like URLs, files, executables. Cross-platform.
    320K+ downloads a week
  • gulp-filterFilter files in a vinyl stream
    320K+ downloads a week
  • line-column-pathParse and stringify file paths with line and column like unicorn.js:8:14
    320K+ downloads a week
  • jpegtran-binjpegtran (part of libjpeg-turbo) bin-wrapper that makes it seamlessly available as a local dependency
    310K+ downloads a week
  • grunt-sassCompile Sass to CSS
    310K+ downloads a week
  • humanize-urlHumanize a URL: https://sindresorhus.com → sindresorhus.com
    310K+ downloads a week
  • package-configGet namespaced config from the closest package.json
    300K+ downloads a week
  • filenamify-urlConvert a URL to a valid filename
    300K+ downloads a week
  • is-adminCheck if the process is running as administrator on Windows
    290K+ downloads a week
  • get-windowsGet metadata about the active window and open windows (title, id, bounds, owner, URL, etc)
    290K+ downloads a week
  • fkillFabulously kill processes. Cross-platform.
    290K+ downloads a week
  • taskkillWrapper for the Windows taskkill command. Ends one or more tasks or processes.
    290K+ downloads a week
  • eslint-plugin-avaESLint rules for AVA
    290K+ downloads a week
  • imagemin-jpegtranjpegtran imagemin plugin
    280K+ downloads a week
  • process-existsCheck if a process is running
    280K+ downloads a week
  • unlimited-timeoutsetTimeout and setInterval that work with delays longer than 24.8 days
    270K+ downloads a week
  • pngquant-binpngquant wrapper that makes it seamlessly available as a local dependency
    270K+ downloads a week
  • js-typesList of JavaScript types
    260K+ downloads a week
  • package-upFind the closest package.json file
    260K+ downloads a week
  • @file-type/xmlXML detection plugin for file-type
    250K+ downloads a week
  • num-sortSort an array of numbers
    250K+ downloads a week
  • mozjpegmozjpeg wrapper that makes it seamlessly available as a local dependency
    250K+ downloads a week
  • imagemin-pngquantImagemin plugin for pngquant
    240K+ downloads a week
  • imagemin-mozjpegImagemin plugin for mozjpeg
    240K+ downloads a week
  • app-pathGet the path to an app (macOS)
    230K+ downloads a week
  • iterm2-versionGet the iTerm2 version
    220K+ downloads a week
  • load-grunt-tasksLoad multiple grunt tasks using globbing patterns
    220K+ downloads a week
  • get-port-cliGet an available port
    220K+ downloads a week
  • is-elevatedCheck if the process is running with elevated privileges
    220K+ downloads a week
  • term-imgDisplay images in terminals using the iTerm inline image protocol
    220K+ downloads a week
  • 220K+ downloads a week
  • ink-linkLink component for Ink
    220K+ downloads a week
  • @sindresorhus/to-millisecondsConvert an object of time properties to milliseconds: {seconds: 2} → 2000
    220K+ downloads a week
  • trashMove files and folders to the trash
    200K+ downloads a week
  • xdg-trashdirGet the correct trash path on Linux
    200K+ downloads a week
  • valid-filenameCheck if a string is a valid filename
    190K+ downloads a week
  • issue-regexRegular expression for matching issue references
    190K+ downloads a week
  • grunt-contrib-jshintValidate files with JSHint
    180K+ downloads a week
  • ink-gradientGradient color component for Ink
    180K+ downloads a week
  • ink-big-textAwesome text component for Ink
    180K+ downloads a week
  • grunt-eslintValidate files with ESLint
    180K+ downloads a week
  • bower-configThe Bower config reader and writer.
    180K+ downloads a week
  • stream-to-bufferConcatenate a readable stream's data into a single buffer
    170K+ downloads a week
  • shell-pathGet the $PATH from the shell
    170K+ downloads a week
  • normalize-newlineNormalize the newline characters in a string to \n
    170K+ downloads a week
  • neat-csvFast CSV parser
    170K+ downloads a week
  • modify-filenameModify the filename in a path
    160K+ downloads a week
  • p-propsLike Promise.all() but for Map and Object
    160K+ downloads a week
  • fix-pathFix the $PATH on macOS and Linux when run from a GUI app
    160K+ downloads a week
  • protocolifyPrepend https:// to humanized URLs like sindresorhus.com and file:// to file paths
    160K+ downloads a week
  • remote-git-tagsGet tags from a remote Git repo
    160K+ downloads a week
  • insightUnderstand how your tool is being used by anonymously reporting usage metrics to Google Analytics or Yandex.Metrica
    150K+ downloads a week
  • xoJavaScript/TypeScript linter (ESLint wrapper) with great defaults
    150K+ downloads a week
  • cwebp-bincwebp wrapper that makes it seamlessly available as a local dependency
    150K+ downloads a week
  • npA better npm publish
    150K+ downloads a week
  • rev-hashCreate a hash for file revving
    150K+ downloads a week
  • is-reachableCheck if servers are reachable
    150K+ downloads a week
  • npm-nameCheck whether a package or organization name is available on npm
    150K+ downloads a week
  • imagemin-webpWebP imagemin plugin
    150K+ downloads a week
  • router-ipsList of common default router IP addresses
    140K+ downloads a week
  • email-regexRegular expression for matching email addresses
    140K+ downloads a week
  • gulp-zipZIP compress files
    140K+ downloads a week
  • p-lazyCreate a lazy promise that defers execution until it's awaited or when .then(), .catch(), or .finally() is called
    140K+ downloads a week
  • strip-css-commentsStrip comments from CSS
    130K+ downloads a week
  • video-extensionsList of video file extensions
    130K+ downloads a week
  • change-file-extensionChange the file extension of a path
    130K+ downloads a week
  • stringify-attributesTurn an object into a string of HTML attributes
    130K+ downloads a week
  • condense-whitespaceRemove leading, trailing, and repeated whitespace from a string
    130K+ downloads a week
  • terminal-imageDisplay images in the terminal
    120K+ downloads a week
  • ncnameRegular expression for matching XML NCName
    120K+ downloads a week
  • djb2aDJB2a non-cryptographic hash function
    120K+ downloads a week
  • chunkifySplit an iterable into evenly sized chunks
    120K+ downloads a week
  • xml-char-classesRegular expressions for matching against the XML Character Classes
    120K+ downloads a week
  • gulp-plugin-extrasUseful utilities for creating Gulp plugins
    110K+ downloads a week
  • filter-consoleFilter out unwanted console.log() output
    110K+ downloads a week
  • bower-endpoint-parserLittle module that helps with endpoints parsing.
    110K+ downloads a week
  • unique-randomGenerate random numbers that are consecutively unique
    110K+ downloads a week
  • is-fnCheck if a value is a function
    110K+ downloads a week
  • unique-random-arrayGet consecutively unique elements from an array
    100K+ downloads a week
  • @sindresorhus/tsconfigShared TypeScript config for my projects
    100K+ downloads a week
  • grunt-babelUse next generation JavaScript, today
    100K+ downloads a week
  • easy-transform-streamCreate a transform stream using await instead of callbacks
    100K+ downloads a week
  • write-packageWrite a package.json file
    99K+ downloads a week
  • decompress-zipExtract files from a ZIP archive
    98K+ downloads a week
  • filled-arrayReturns an array filled with the specified input
    98K+ downloads a week
  • gulp-imageminMinify PNG, JPEG, GIF and SVG images
    97K+ downloads a week
  • unique-temp-dirProvides a uniquely named temp directory.
    96K+ downloads a week
  • alpha-sortAlphabetically sort an array of strings
    95K+ downloads a week
  • round-toRound a number to a specific number of decimal places: 1.234 → 1.2
    94K+ downloads a week
  • grunt-concurrentRun grunt tasks concurrently
    94K+ downloads a week
  • strip-url-authStrip the authentication part of a URL
    91K+ downloads a week
  • import-globalImport a globally installed module
    89K+ downloads a week
  • gulp-debugDebug Vinyl file streams to see what files are run through your Gulp pipeline
    86K+ downloads a week
  • hamming-distanceCalculate the hamming distance of two hex strings or buffers
    84K+ downloads a week
  • jshint-stylishStylish reporter for JSHint
    84K+ downloads a week
  • safe-stringifySerialize objects to JSON with handling for circular references
    84K+ downloads a week
  • supports-terminal-graphicsDetect which terminal graphics protocols are supported (Kitty, iTerm2, Sixel)
    82K+ downloads a week
  • grunt-shellRun shell commands
    82K+ downloads a week
  • gulp-revStatic asset revisioning by appending content hash to filenames: unicorn.css => unicorn-d41d8cd98f.css
    81K+ downloads a week
  • pad-streamPad each line in a stream
    79K+ downloads a week
  • rev-pathCreate a revved file path
    79K+ downloads a week
  • electron-debugAdds useful debug features to your Electron app
    78K+ downloads a week
  • eslint-config-xo-reactESLint shareable config for React to be used with eslint-config-xo
    75K+ downloads a week
  • to-single-quotesConvert matching double-quotes to single-quotes: I "love" unicorns → I 'love' unicorns
    73K+ downloads a week
  • ts-extrasEssential utilities for TypeScript projects
    71K+ downloads a week
  • to-double-quotesConvert matching single-quotes to double-quotes: I 'love' unicorns → I "love" unicorns
    71K+ downloads a week
  • sdbmSDBM non-cryptographic hash function
    69K+ downloads a week
  • fetch-extrasUseful utilities for working with Fetch
    66K+ downloads a week
  • gulp-changedOnly pass through changed files
    63K+ downloads a week
  • gulp-mochaRun Mocha tests
    58K+ downloads a week
  • array-shuffleRandomize the order of items in an array
    58K+ downloads a week
  • todomvc-app-cssCSS for TodoMVC apps
    57K+ downloads a week
  • ensure-errorEnsures a value is a valid error by making it one if not
    56K+ downloads a week
  • eslint-node-testESLint rules for the Node.js built-in test runner (node:test)
    56K+ downloads a week
  • observable-to-promiseConvert an Observable to a Promise
    53K+ downloads a week
  • cycledCycle through the items of an array
    51K+ downloads a week
  • get-urlsGet all URLs in a string
    50K+ downloads a week
  • electron-serveStatic file serving for Electron apps
    50K+ downloads a week
  • pastelFramework for effortlessly building Ink apps
    49K+ downloads a week
  • @ava/babel-preset-transform-test-filesBabel preset for use with AVA test files
    48K+ downloads a week
  • @sindresorhus/gifkitEncode, decode, and render GIF files
    48K+ downloads a week
  • gulp-sizeDisplay the size of your project
    47K+ downloads a week
  • @ava/typescriptTypeScript provider for AVA
    47K+ downloads a week
  • @ava/babel-plugin-throws-helperBabel plugin for protecting against improper use of t.throws() in AVA
    47K+ downloads a week
  • @file-type/pdffile-type plugin to parse PDF files
    46K+ downloads a week
  • prototype-propertiesList of prototype properties for JavaScript types
    45K+ downloads a week
  • is-executableCheck whether a file can be executed
    45K+ downloads a week
  • todomvc-commonCommon TodoMVC utilities used by our apps
    44K+ downloads a week
  • gravatar-urlGet the URL to a Gravatar image from an identifier, such as an email
    44K+ downloads a week
  • hash-objectGet the hash of an object
    44K+ downloads a week
  • @ava/babel-preset-stage-4Efficiently applies the minimum of transforms to run stage 4 code on Node.js 6, 8 and 10
    43K+ downloads a week
  • bower-jsonRead bower.json files with semantics, normalisation, defaults and validation
    43K+ downloads a week
  • parse-sseParse Server-Sent Events (SSE) from a Response
    41K+ downloads a week
  • eslint-package-jsonPowerful ESLint rules for package.json
    41K+ downloads a week
  • decircularRemove circular references from objects
    41K+ downloads a week
  • chalk-cliTerminal string styling done right
    40K+ downloads a week
  • gulp-bomAdd a UTF-8 BOM to files
    39K+ downloads a week
  • gulp-exclude-gitignoreGulp plugin to exclude file contained in .gitignore from the stream
    39K+ downloads a week
  • imagemin-cliMinify images seamlessly
    39K+ downloads a week
  • get-emailsGet all email addresses in a string
    38K+ downloads a week
  • p-mutexAsync mutex lock for managing access to a shared resource
    37K+ downloads a week
  • p-seriesRun promise-returning & async functions in series
    37K+ downloads a week
  • word-listList of English words
    35K+ downloads a week
  • p-tapTap into a promise chain without affecting its value or state
    35K+ downloads a week
  • criticalExtract & inline critical-path CSS — two engines, automatic routing, agent-native.
    34K+ downloads a week
  • path-exists-cliCheck if a path exists
    34K+ downloads a week
  • electron-unhandledCatch unhandled errors and promise rejections in your Electron app
    34K+ downloads a week
  • secConvert a time string to seconds: '00:22:17' → 1337
    31K+ downloads a week
  • cryptocurrency-iconsA set of icons for all the main cryptocurrencies and altcoins, in a range of styles and sizes
    31K+ downloads a week
  • tasklistWrapper for the Windows tasklist command. Returns a list of apps and services with their Process ID (PID) for all tasks running on either a local or a remote computer.
    30K+ downloads a week
  • compare-urlsCompare URLs by first normalizing them
    29K+ downloads a week
  • react-extrasUseful components and utilities for working with React
    29K+ downloads a week
  • is-imageCheck if a file path is an image
    29K+ downloads a week
  • p-timesRun promise-returning & async functions a specific number of times concurrently
    29K+ downloads a week
  • trash-cliMove files and folders to the trash
    27K+ downloads a week
  • vinyl-pathsGet the file paths in a vinyl stream
    26K+ downloads a week
  • @file-type/cfbfCompound File Binary Format (CFBF) detection plugin for file-type
    25K+ downloads a week
  • yoctodelayDelay a promise a specified amount of time
    25K+ downloads a week
  • @ava/write-file-atomicWrite files in an atomic fashion w/configurable ownership
    25K+ downloads a week
  • electron-reloaderSimple auto-reloading for Electron apps during development
    25K+ downloads a week
  • gulp-chmodChange permissions of Vinyl files
    24K+ downloads a week
  • option-chainUse fluent property chains in lieu of options objects
    24K+ downloads a week
  • bower-registry-clientProvides easy interaction with the Bower registry
    24K+ downloads a week
  • lpadLeft-pad each line in a string
    23K+ downloads a week
  • electron-utilUseful utilities for Electron apps and modules
    23K+ downloads a week
  • grunt-svgminMinify SVG
    21K+ downloads a week
  • gulp-templateRender/precompile Lodash/Underscore templates
    21K+ downloads a week
  • @sindresorhus/string-hashGet the hash of a string
    19K+ downloads a week
  • is-array-sortedCheck if an Array is sorted
    18K+ downloads a week
  • comment-regexRegular expression for matching JavaScript comments
    17K+ downloads a week
  • is-videoCheck if a file path is a video file
    17K+ downloads a week
  • pokemonGet Pokémon names
    16K+ downloads a week
  • random-itemGet a random item from an array
    16K+ downloads a week
  • gzip-size-cliGet the gzipped size of a file or stdin
    15K+ downloads a week
  • make-dir-cliMake directories and their parents if needed - Like mkdir -p, but cross-platform
    15K+ downloads a week
  • boxen-cliCreate boxes in the terminal
    14K+ downloads a week
  • @ava/babelBabel provider for AVA
    14K+ downloads a week
  • @ava/require-precompiledRequire extension that allows for caching/precompiling
    14K+ downloads a week
  • replace-in-files-cliReplace matching strings and regexes in files
    12K+ downloads a week
  • lazy-valueCreate a lazily evaluated value
    12K+ downloads a week
  • p-whilstWhile a condition returns true, calls a function repeatedly, and then resolves the promise
    12K+ downloads a week
  • strip-debugStrip console, alert, and debugger statements from JavaScript code
    12K+ downloads a week
  • rename-fnRename a function
    11K+ downloads a week
  • pad-stdioPad stdout and stderr
    11K+ downloads a week
  • is-empty-iterableCheck if an Iterable is empty
    11K+ downloads a week
  • p-raceA better Promise.race()
    11K+ downloads a week
  • gulp-strip-debugStrip console and debugger statements from JavaScript code
    11K+ downloads a week
  • delay-cliDelay execution for a given duration
    10K+ downloads a week
  • npm-emailGet the email of an npm user
    10K+ downloads a week
  • npm-userGet user info of an npm user
    10K+ downloads a week
  • max-timeoutThe max amount of milliseconds you can pass to setTimeout()
    10K+ downloads a week
  • gulp-tarCreate tarball from files
    9.9K+ downloads a week
  • validate-element-nameValidate the name of a custom element
    9.6K+ downloads a week
  • internal-ip-cliGet your internal IP address
    9.3K+ downloads a week
  • realpathExpands symbolic links and prints the resolved absolute filepath
    9.3K+ downloads a week
  • p-min-delayDelay a promise a minimum amount of time
    9.2K+ downloads a week
  • xo-initAdd XO to your project
    9.2K+ downloads a week
  • devtools-detectDetect if DevTools is open and its orientation
    8.8K+ downloads a week
  • random-floatGenerate a random float
    8.7K+ downloads a week
  • move-file-cliMove a file on the command-line
    8.6K+ downloads a week
  • babel-plugin-detectiveBabel 5/6 plugin that scans the AST for require calls and import statements
    8.6K+ downloads a week
  • capture-websiteCapture screenshots of websites
    8.5K+ downloads a week
  • remark-custom-header-idRemark plugin for adding a custom ID attribute to Markdown headers
    8.5K+ downloads a week
  • has-domCheck if a JavaScript environment has a DOM
    8.5K+ downloads a week
  • strip-ansi-streamStrip ANSI escape codes
    8.4K+ downloads a week
  • yeoman-welcomeYeoman welcome message used in generators
    8.3K+ downloads a week
  • gulp-jasmineRun Jasmine tests
    8K+ downloads a week
  • @file-type/avfile-type plugin for improved audio / video type detection
    7.9K+ downloads a week
  • babel-plugin-ava-throws-helperBabel plugin for protecting against improper use of t.throws() in AVA
    7.8K+ downloads a week
  • eslint-cssicornPowerful ESLint rules for CSS
    7.7K+ downloads a week
  • clipboard-cliAccess the system clipboard (copy/paste)
    7.4K+ downloads a week
  • parse-duration-msParse duration strings to milliseconds
    7K+ downloads a week
  • make-synchronousMake an asynchronous function synchronous
    6.8K+ downloads a week
  • awesome-lintLinter for Awesome lists
    6.7K+ downloads a week
  • split-atSplit a string at one or more indices
    6.6K+ downloads a week
  • generate-github-markdown-cssGenerate the CSS for github-markdown-css
    6.6K+ downloads a week
  • vacaGet a random ASCII cow 🐮
    6.5K+ downloads a week
  • grunt-contrib-pugCompile Pug templates
    6.4K+ downloads a week
  • file-iconGet the icon of a file or app as a PNG image (macOS)
    6.2K+ downloads a week
  • cowsASCII cows 🐮
    6.2K+ downloads a week
  • noop3◻️ Supreme nothingness
    6.1K+ downloads a week
  • zopflipng-binzopflipng wrapper that makes it seamlessly available as a local dependency
    5.7K+ downloads a week
  • to-semverGet an array of valid, sorted, and cleaned semver versions from an array of strings
    5.6K+ downloads a week
  • strip-ansi-cliStrip ANSI escape codes
    5.5K+ downloads a week
  • jpeg-recompress-binjpeg-recompress wrapper that makes it seamlessly available as a local dependency
    5.4K+ downloads a week
  • noop-streamCreate a readable Node.js stream that produces no data (or optionally blank data) or a writable stream that discards data
    5.4K+ downloads a week
  • latest-semverGet the latest stable semver version from an array of versions
    5.1K+ downloads a week
  • ava-filesFile resolution for AVA
    5K+ downloads a week
  • dog-namesGet popular dog names
    5K+ downloads a week
  • wait-for-localhostWait for localhost to be ready
    4.9K+ downloads a week
  • run-electronRun Electron without all the junk terminal output
    4.9K+ downloads a week
  • gulp-strip-css-commentsStrip comments from CSS
    4.6K+ downloads a week
  • gulp-webpConvert images to WebP
    4.5K+ downloads a week
  • pngcrush-binpngcrush wrapper that makes it seamlessly available as a local dependency
    4.5K+ downloads a week
  • stylelint-config-xoStylelint shareable config for XO
    4.2K+ downloads a week
  • strip-pathStrip a path from a path
    3.8K+ downloads a week
  • create-dmgCreate a good-looking DMG for your macOS app in seconds
    3.4K+ downloads a week
  • imagemin-zopfliZopfli imagemin plugin
    3.4K+ downloads a week
  • dev-null-cliCross-platform /dev/null
    3.2K+ downloads a week
  • non-asciiRegular expression for matching non-ASCII characters
    3.1K+ downloads a week
  • eslint-ava-rule-testerESLint RuleTester for AVA
    2.9K+ downloads a week
  • esc-exitExit the process when the esc key is pressed
    2.8K+ downloads a week
  • p-foreverRun promise-returning & async functions repeatedly until you end it
    2.8K+ downloads a week
  • multi-downloadDownload multiple files at once in the browser
    2.8K+ downloads a week
  • element-readyDetect when an element is ready in the DOM
    2.8K+ downloads a week
  • park-millerPark-Miller pseudorandom number generator (PRNG)
    2.6K+ downloads a week
  • gif2webp-bingif2webp wrapper that makes it seamlessly available as a local dependency
    2.6K+ downloads a week
  • p-immediateReturns a promise resolved in the next event loop - think setImmediate()
    2.5K+ downloads a week
  • fkill-cliFabulously kill processes. Cross-platform.
    2.5K+ downloads a week
  • gulp-markdownMarkdown to HTML
    2.5K+ downloads a week
  • imagemin-pngcrushpngcrush imagemin plugin
    2.4K+ downloads a week
  • pngout-binpngout wrapper that makes it seamlessly available as a local dependency
    2.4K+ downloads a week
  • fast-cliTest your download and upload speed using fast.com
    2.4K+ downloads a week
  • find-up-cliFind a file by walking up parent directories
    2.4K+ downloads a week
  • apertureRecord the screen on macOS
    2.4K+ downloads a week
  • eslint-jsonJSON formatter for ESLint
    2.3K+ downloads a week
  • p-do-whilstCalls a function repeatedly while a condition returns true and then resolves the promise
    2.3K+ downloads a week
  • wait-for-localhost-cliWait for localhost to be ready from the command-line
    2.3K+ downloads a week
  • create-html-elementCreate a HTML element string
    2.3K+ downloads a week
  • gulp-nunjucksCompile/precompile Nunjucks templates
    2.3K+ downloads a week
  • dom-mutationsObserve changes to the DOM using an async iterable — A nicer API for MutationObserver
    2.3K+ downloads a week
  • source-map-to-commentConvert a Source Map object to a comment
    2.3K+ downloads a week
  • grunt-contrib-yuidocCompile YUIDoc Documentation
    2.2K+ downloads a week
  • imagemin-gif2webpgif2webp imagemin plugin
    2.2K+ downloads a week
  • electron-better-ipcSimplified IPC communication for Electron apps
    2.1K+ downloads a week
  • linkify-urlsLinkify URLs in a string
    2.1K+ downloads a week
  • terminal-querySend escape sequences to the terminal and read back responses
    2.1K+ downloads a week
  • current-week-numberGet current week number of the current year,given Date format string or Date object.
    2.1K+ downloads a week
  • randomaUser-friendly pseudorandom number generator (PRNG)
    2.1K+ downloads a week
  • random-bytes-readable-streamCreates a readable stream producing cryptographically strong pseudo-random data using crypto.randomBytes()
    2K+ downloads a week
  • in-rangeCheck if a number is in a given range
    2K+ downloads a week
  • p-timeMeasure the time a promise takes to resolve
    2K+ downloads a week
  • imagemin-jpeg-recompressjpeg-recompress imagemin plugin
    1.9K+ downloads a week
  • jpegoptim-binjpegoptim wrapper that makes it seamlessly available as a local dependency
    1.9K+ downloads a week
  • superbGet superb like adjectives
    1.9K+ downloads a week
  • p-ifConditional promise chains
    1.8K+ downloads a week
  • gulp-jsvalidateValidate JavaScript code and report possible syntax errors
    1.7K+ downloads a week
  • is-webpCheck if a Buffer/Uint8Array is a WebP image
    1.7K+ downloads a week
  • rev-fileGet the revved file path of a file
    1.7K+ downloads a week
  • has-emojiCheck whether a string has any emoji
    1.6K+ downloads a week
  • p-catch-ifConditional promise catch handler
    1.6K+ downloads a week
  • is-error-constructorCheck if a value is an error constructor
    1.5K+ downloads a week
  • is-tifCheck if a Buffer/Uint8Array is a TIFF image
    1.5K+ downloads a week
  • is-jxrCheck if a Buffer/Uint8Array is a JPEG XR image
    1.5K+ downloads a week
  • is-psdCheck if a Buffer/Uint8Array is a PSD image
    1.5K+ downloads a week
  • ipifyGet your public IP address
    1.5K+ downloads a week
  • is-bmpCheck if a Buffer/Uint8Array is a BMP image
    1.5K+ downloads a week
  • node-env-webpack-pluginSimplified NODE_ENV handling with webpack
    1.4K+ downloads a week
  • is-npm-cliCheck if your code is running as an npm script
    1.4K+ downloads a week
  • add-asset-webpack-pluginDynamically add an asset to the Webpack graph
    1.4K+ downloads a week
  • p-progressCreate a promise that reports progress
    1.3K+ downloads a week
  • imagemin-jpegoptimImagemin plugin for jpegoptim
    1.3K+ downloads a week
  • gulp-revert-pathRevert the previous file.path change
    1.3K+ downloads a week
  • ua-stringGet the user agent of a recent Chrome version to pretend to be a browser in network requests
    1.3K+ downloads a week
  • cat-namesGet popular cat names
    1.2K+ downloads a week
  • self-pathGet the path to this package - Useful for testing
    1.2K+ downloads a week
  • imagemin-pngoutpngout imagemin plugin
    1.2K+ downloads a week
  • pageresCapture website screenshots
    1.2K+ downloads a week
  • request-animation-framesUse requestAnimationFrame as an async iterable, in any JavaScript environment
    1.1K+ downloads a week
  • unicornAdd some color to your command line.
    1.1K+ downloads a week
  • @sindresorhus/class-namesConditionally join CSS class names together - Especially useful with React
    1.1K+ downloads a week
  • soml-langReference parser, serializer, and formatter for SOML, a config format for humans
    1.1K+ downloads a week
  • @ava/cooperatePlugin to enable cooperation between AVA test files
    1.1K+ downloads a week
  • @ava/get-portCooperative get-port implementation
    1K+ downloads a week
  • eslint-somlESLint plugin for SOML, a config format for humans
    1K+ downloads a week
  • random-wordGet a random English word
    1K+ downloads a week
  • decompress-tarxzdecompress tar.xz plugin
    1K+ downloads a week
  • pretty-bytes-cliConvert bytes to a human readable string: 1337 → 1.34 kB
    1K+ downloads a week
  • viewport-listReturn a list of devices and their viewports
    993 downloads a week
  • is-email-likeCheck if a string is email like
    941 downloads a week
  • dom-loadedCheck when the DOM has loaded like DOMContentLoaded
    923 downloads a week
  • p-stateInspect the state of a promise
    906 downloads a week
  • capture-website-cliCapture screenshots of websites from the command-line
    888 downloads a week
  • xterm-colorsxterm 256 color palette
    842 downloads a week
  • guetzliguetzli wrapper that makes it seamlessly available as a local dependency
    833 downloads a week
  • gulp-closure-compilerGulp plugin for Google Closure Compiler
    828 downloads a week
  • sparklyGenerate sparklines ▁▂▃▅▂▇
    818 downloads a week
  • is-herokuCheck if your code is running on Heroku
    789 downloads a week
  • dark-modeControl the macOS dark mode
    727 downloads a week
  • nzZero-config type tests for packages with hand-written declaration files
    717 downloads a week
  • grunt-contrib-internalInternal tasks for managing the grunt-contrib projects
    704 downloads a week
  • terminal-link-cliCreate clickable links in the terminal
    673 downloads a week
  • splice-stringRemove or replace part of a string like Array#splice
    668 downloads a week
  • gulp-avaRun AVA tests
    662 downloads a week
  • binary-version-check-cliCheck whether a binary version satisfies a semver range
    658 downloads a week
  • get-resGet ten most popular screen resolutions
    653 downloads a week
  • pkg-versionsGet the version numbers of a package from the npm registry
    626 downloads a week
  • is-travisCheck if your code is running on Travis
    615 downloads a week
  • linkify-issuesLinkify GitHub issue references
    590 downloads a week
  • leap-yearCheck if a year is a leap year
    582 downloads a week
  • test-extrasAssertions and utilities that make node:test better
    582 downloads a week
  • clear-cliClear the terminal cross-platform
    579 downloads a week
  • advpng-binAdvPNG bin-wrapper that makes it seamlessly available as a local dependency
    578 downloads a week
  • grunt-headerAdd a header to files
    576 downloads a week
  • superheroesGet superhero names
    570 downloads a week
  • shell-historyGet the command history of the user's shell
    567 downloads a week
  • pick-randomPick random items from a list
    544 downloads a week
  • strip-shebangStrip shebang (Example: #!/bin/sh) from a string
    538 downloads a week
  • parent-directoriesGet an array of parent directories including itself
    514 downloads a week
  • pageres-cliCapture website screenshots
    501 downloads a week
  • p-logLog the value/error of a promise
    488 downloads a week
  • hierarchical-clusteringHierarchical clustering
    485 downloads a week
  • first-runCheck if it's the first time the process is run
    481 downloads a week
  • cache-confSimple cache config handling for your app or module
    480 downloads a week
  • article-titleExtract the article title of a HTML document
    478 downloads a week
  • p-breakBreak out of a promise chain
    470 downloads a week
  • faviconfind the url of a web site's favicon image
    465 downloads a week
  • wallpaperManage the desktop wallpaper
    459 downloads a week
  • eslint-tapTAP formatter for ESLint
    438 downloads a week
  • jsftp-mkdirpRecursively create nested directories with jsftp, like mkdirp
    417 downloads a week
  • screenshot-streamCapture screenshot of a website and return it as a stream
    404 downloads a week
  • sleep-synchronouslyBlock the main thread for a given amount of time
    379 downloads a week
  • grunt-strip-css-commentsStrip comments from CSS
    377 downloads a week
  • math-clampClamp a number
    371 downloads a week
  • ink-imageImage component for Ink
    368 downloads a week
  • electron-timberPretty logger for Electron apps
    367 downloads a week
  • gulp-strip-json-commentsStrip comments from JSON. Lets you use comments in your JSON files!
    359 downloads a week
  • pick-random-cliPick random items from a list
    359 downloads a week
  • norway-postal-codesNorway Postal Codes
    349 downloads a week
  • generator-nodeCreate a Node.js module
    340 downloads a week
  • alfyCreate Alfred workflows with ease
    333 downloads a week
  • float-equalCheck if two floats are almost equal
    327 downloads a week
  • gulp-markdown-pdfMarkdown to PDF
    326 downloads a week
  • mnemonic-wordsList of words for making random mnemonic sentences
    301 downloads a week
  • stylelint-config-xo-scssStylelint shareable config for XO with Sass support
    284 downloads a week
  • php-serverStart a PHP server
    279 downloads a week
  • alfred-npmsAlfred workflow to search for npm packages with npms.io
    272 downloads a week
  • file-metadataGet file metadata using mdls on macOS
    270 downloads a week
  • grunt-electronPackage Electron apps
    268 downloads a week
  • imagemin-advpngAdvPNG imagemin plugin
    258 downloads a week
  • is-progressiveCheck if JPEG images are progressive
    228 downloads a week
  • bind-methodsBind all methods in an object to itself or a specified context
    226 downloads a week
  • month-daysGet the number of days in a month
    223 downloads a week
  • alfred-linkMake your Alfred workflows installable from npm
    216 downloads a week
  • alfred-notifierUpdate notifications for your Alfred workflow
    212 downloads a week
  • speed-testTest your internet connection speed and ping using speedtest.net from the CLI
    205 downloads a week
  • github-repositoriesGet all Github repos from a user or an organization
    203 downloads a week
  • @sindresorhus/do-not-disturbControl the macOS Do Not Disturb feature
    202 downloads a week
  • truncate-urlTruncate a URL to a specific length
    202 downloads a week
  • supervillainsGet supervillain names
    198 downloads a week
  • pure-promptPretty, minimal and fast ZSH prompt
    193 downloads a week
  • mapcode-regexRegular expression for matching mapcodes
    191 downloads a week
  • math-sumSum numbers
    191 downloads a week
  • desktopCapture a screenshot (macOS only)
    186 downloads a week
  • stylelint-config-xo-spaceStylelint shareable config for XO with 2-space indent
    184 downloads a week
  • eslint-unicornMore than 100 powerful ESLint rules
    182 downloads a week
  • strip-css-comments-cliStrip comments from CSS
    181 downloads a week
  • grunt-footerAdd a footer to files
    178 downloads a week
  • grunt-phpStart a PHP server
    177 downloads a week
  • number-is-floatCheck if something is a float
    171 downloads a week
  • strip-bom-cliStrip UTF-8 byte order mark (BOM)
    168 downloads a week
  • generator-generatorGenerate a Yeoman generator
    139 downloads a week
  • url-format-laxLax url.format() that formats a hostname and port into IPv6-compatible socket form of hostname:port
    125 downloads a week
  • grunt-ftpUpload files to or download from an FTP-server
    123 downloads a week
  • 121 downloads a week
  • is-upCheck whether a website is up or down
    107 downloads a week
  • pretty-ms-cliConvert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s
    107 downloads a week
  • gulp-chownChange owner of Vinyl files
    101 downloads a week
  • hasha-cliHashing made simple. Get the hash of text or stdin.
    99 downloads a week
  • somebodyParse/stringify contact info like Sindre Sorhus <[email protected]> (sindresorhus.com)
    97 downloads a week
  • terminal-image-cliDisplay images in the terminal
    94 downloads a week
  • brightnessChange the screen brightness
    92 downloads a week
  • empty-trashEmpty the trash
    88 downloads a week
  • app-existsCheck if an app exists on macOS
    87 downloads a week
  • imagemin-guetzliGuetzli imagemin plugin
    87 downloads a week
  • awesome-electronUseful resources for creating apps with Electron
    86 downloads a week
  • aliasesParse flag aliases in CLI help output
    84 downloads a week
  • wifi-nameGet current wifi name
    84 downloads a week
  • file-type-cliDetect the file type of a file or stdin
    82 downloads a week
  • sass-extrasUseful utilities for working with Sass
    80 downloads a week
  • find-versions-cliFind semver versions in a string: unicorn v1.2.3 → 1.2.3
    77 downloads a week
  • knownAllow only access to known object properties using ES2015 Proxy
    77 downloads a week
  • doge-seed-cliGenerate dank mnemonic seed phrases in the terminal
    75 downloads a week
  • negative-arrayNegative array index support array[-1] using ES2015 Proxy
    74 downloads a week
  • yes-no-wordsGet yes/no-like words
    73 downloads a week
  • conductGenerate a Code of Conduct for your project - Provided by Contributor Covenant
    69 downloads a week
  • noop-processCreate a noop (no operation) process and get the PID
    65 downloads a week
  • lock-systemLock your system
    62 downloads a week
  • coinlistComprehensive list of cryptocurrencies with metadata
    60 downloads a week
  • all-keysGet all property keys of an object including non-enumerable and inherited ones
    58 downloads a week
  • grunt-strip-json-commentsStrip comments from JSON. Lets you use comments in your JSON files!
    58 downloads a week
  • claimTiny assertion library
    57 downloads a week
  • react-router-utilUseful components and utilities for working with React Router
    57 downloads a week
  • generator-webappScaffold out a front-end web app
    54 downloads a week
  • reveal-fileReveal a file or folder in the system file manager (Finder, Explorer, etc.)
    54 downloads a week
  • get-gravatarGet a Gravatar image from an identifier, such as an email
    51 downloads a week
  • pwuidgetpwuid() binding - returns username, name, home directory, shell, gid from uid
    51 downloads a week
  • latest-version-cliGet the latest version of an npm package
    50 downloads a week
  • alfy-testTest your Alfy workflows
    48 downloads a week
  • bundle-idGet bundle identifier from a bundle name (macOS): Safari → com.apple.Safari
    47 downloads a week
  • npm-name-cliCheck whether a package or organization name is available on npm
    46 downloads a week
  • sindresorhusThe Sindre Sorhus CLI
    44 downloads a week
  • public-ip-cliGet your public IP address
    43 downloads a week
  • random-object-valueGet a random value from an object
    43 downloads a week
  • emojFind relevant emoji from text on the command-line
    41 downloads a week
  • parse-columnsParse text columns, like the output of Unix commands
    39 downloads a week
  • simplify-rangesMerge and normalize adjacent or overlapping integer ranges
    38 downloads a week
  • is-online-cliCheck if the internet connection is up
    37 downloads a week
  • current-day-numberGet day number of the current date/year or given valid Date string format
    35 downloads a week
  • is-mdCheck if a file path is a Markdown file
    35 downloads a week
  • wifi-passwordGet current wifi password
    35 downloads a week
  • ink-reduxRedux bindings for Ink
    34 downloads a week
  • generator-bbbBackbone Boilerplate Yeoman generator.
    33 downloads a week
  • grunt-avaRun AVA tests
    33 downloads a week
  • is-archiveCheck if a file path is an archive file
    33 downloads a week
  • fullname-nativeGet the fullname of the current user
    32 downloads a week
  • manage-wifiTurn your Wi-Fi on and off
    32 downloads a week
  • username-cliGet the username of the current user
    32 downloads a week
  • random-object-keyGet a random key from an object
    31 downloads a week
  • anybarControl the AnyBar app
    29 downloads a week
  • prettier-plugin-somlPrettier plugin for SOML, a config format for humans
    29 downloads a week
  • get-rangeLazy number range generator
    27 downloads a week
  • kill-tabsKill all Chrome tabs to improve performance, decrease battery usage, and save memory
    27 downloads a week
  • slugify-cliSlugify a string
    27 downloads a week
  • archive-extensionsList of archive file extensions
    26 downloads a week
  • ava-codemodsCodemods to simplify upgrading AVA versions
    26 downloads a week
  • dotsTruncate string
    26 downloads a week
  • is-camera-onCheck if a Mac camera is on
    25 downloads a week
  • trayballoonCreate a trayballoon on Windows
    25 downloads a week
  • brightness-cliChange the screen brightness
    24 downloads a week
  • gh-userGet user info from a GitHub username
    24 downloads a week
  • is-file-streamDetect if a stream is a file stream
    23 downloads a week
  • kap-gifskiExport to high-quality GIFs using Gifski
    23 downloads a week
  • repeating-cliRepeat text
    23 downloads a week
  • wallpaper-cliManage the desktop wallpaper
    23 downloads a week
  • noop-cli◻️ Supreme nothingness
    22 downloads a week
  • year-daysGet the number of days in a year
    22 downloads a week
  • alfred-emojAlfred workflow to find relevant emoji from text
    21 downloads a week
  • bundle-id-cliGet bundle identifier from a bundle name (macOS): Safari → com.apple.Safari
    21 downloads a week
  • is-github-downCheck if GitHub is down
    21 downloads a week
  • fullname-cliGet the fullname of the current user
    20 downloads a week
  • hyper-snazzyElegant Hyper theme with bright colors
    20 downloads a week
  • supervillains-cliGet supervillain names on the command-line
    20 downloads a week
  • year-secondsGet the number of seconds/milliseconds in leap/noleap year.
    20 downloads a week
  • cocoa-dialogDisplay common GUI dialogs on macOS using cocoaDialog
    19 downloads a week
  • compressed-extensionsList of compressed file extensions
    19 downloads a week
  • ipify-cliGet your public IP address
    19 downloads a week
  • is-up-cliCheck whether a website is up or down
    19 downloads a week
  • matcher-cliSimple wildcard matching
    19 downloads a week
  • open-shortcut-cliOpen the URL from a web shortcut file in the browser
    19 downloads a week
  • electron-main-fetchUse the browser Fetch API from the main process in Electron
    18 downloads a week
  • npm-homeOpen the npm page, Yarn page, or GitHub repo of a package
    18 downloads a week
  • pokemon-cliGet Pokémon names
    18 downloads a week
  • article-title-cliExtract the article title of a HTML document or website
    17 downloads a week
  • create-xoAdd XO to your project
    17 downloads a week
  • default-browser-cliGet the default browser
    17 downloads a week
  • leven-cliMeasure the difference between two strings using the Levenshtein distance algorithm
    17 downloads a week
  • node-platformsList of platforms supported by Node.js
    17 downloads a week
  • soml-typescript-typesSOML parser, encoder, and canonicalizer written entirely in TypeScript types
    17 downloads a week
  • user-home-cliGet the path to the user home directory
    17 downloads a week
  • current-pathGet the path of the current directory in Finder (macOS) and Explorer (Windows)
    16 downloads a week
  • current-path-cliGet the path of the current directory in Finder (macOS) and Explorer (Windows)
    16 downloads a week
  • dofleCLI that opens a random photo of my cat Dofle
    16 downloads a week
  • gulp-microEnsure your micro-lib stays micro
    16 downloads a week
  • is-compressedCheck if a file path is a compressed file
    16 downloads a week
  • is-epubCheck if a Buffer/Uint8Array is EPUB
    16 downloads a week
  • strip-debug-cliStrip console, alert, and debugger statements from JavaScript code
    16 downloads a week
  • app-path-cliGet the path to an app (macOS)
    15 downloads a week
  • bundle-name-cliGet bundle name from a bundle identifier (macOS): com.apple.Safari → Safari
    15 downloads a week
  • github-add-collabAdd collaborators to Github repos
    15 downloads a week
  • grunt-dependency-checkChecks which modules you have used in your code and then makes sure they are listed as dependencies in your package.json and vice-versa
    15 downloads a week
  • is-jxaCheck if your code is running in a JXA environment
    15 downloads a week
  • normalize-newline-cliNormalize the newline characters in a string to \n
    15 downloads a week
  • superb-cliGet superb like words on the command-line
    15 downloads a week
  • to-single-quotes-cliConvert matching double-quotes to single-quotes: I "love" unicorns → I 'love' unicorns
    15 downloads a week
  • unicode-escapesEncode and decode Unicode escapes in a string
    15 downloads a week
  • alfred-xcodeAlfred 3 workflow to open Xcode projects, workspaces, and playgrounds
    14 downloads a week
  • anybar-cliControl the AnyBar app
    14 downloads a week
  • file-url-cliConvert a path to a file URL: unicorn.jpg → file:///Users/sindresorhus/unicorn.jpg
    14 downloads a week
  • gh-avatarGet the avatar of a GitHub user
    14 downloads a week
  • gh-homeOpen the GitHub page of the given or current directory repo
    14 downloads a week
  • indent-string-cliIndent each line in a string
    14 downloads a week
  • lock-cliLock your system from the command-line
    14 downloads a week
  • manage-wifi-cliTurn your Wi-Fi on and off
    14 downloads a week
  • pupa-cliSimple micro templating
    14 downloads a week
  • sindredashFighting back against modularity - a Sindre utility suite.
    14 downloads a week
  • term-img-cliDisplay images in iTerm
    14 downloads a week
  • urls-mdConvert URLs to Markdown links and images: Extracts URLs from text → Gets their article title → Creates Markdown links
    14 downloads a week
  • create-avaAdd AVA to your project
    13 downloads a week
  • detect-newline-cliDetect the dominant newline character
    13 downloads a week
  • highlightjs-somlSOML grammar for highlight.js
    13 downloads a week
  • is-public-domainCheck if a domain is public
    13 downloads a week
  • kap-giphyShare GIFs on GIPHY
    13 downloads a week
  • npm-user-cliGet user info of an npm user
    13 downloads a week
  • sparkly-cliGenerate sparklines ▁▂▃▅▂▇
    13 downloads a week
  • stable-functionEnsure a function is stable, meaning the same input always produces the same output
    13 downloads a week
  • alfred-plashAlfred workflow to control the Plash app
    12 downloads a week
  • date-now-cliPrints the current date and time as a UNIX timestamp or custom format
    12 downloads a week
  • detect-indent-cliDetect the indentation of code
    12 downloads a week
  • github-search-reposSearch GitHub repositories
    12 downloads a week
  • github-username-cliGet a GitHub username from an email address
    12 downloads a week
  • glittergit abstraction
    12 downloads a week
  • multicast-streamCreate a multicast stream that lets multiple consumers independently read the same data
    12 downloads a week
  • newline-brPrepend <br> to newlines in a string
    12 downloads a week
  • shortcut-url-cliGet the URL from a web shortcut file
    12 downloads a week
  • word-streamReturns a stream of English words
    12 downloads a week
  • generator-chrome-extensionScaffold out a Chrome extension
    11 downloads a week
  • get-urls-cliGet all URLs in a text file or stdin
    11 downloads a week
  • grunt-strip-debugStrip console and debugger statements from JavaScript code
    11 downloads a week
  • is-camera-on-cliCheck if a Mac camera is on
    11 downloads a week
  • mapcodeFind mapcodes in a string
    11 downloads a week
  • npm-run-path-cliGet your PATH prepended with locally installed binaries
    11 downloads a week
  • open-editor-cliOpen files in your editor at a specific line and column
    11 downloads a week
  • package-json-cliGet the package.json of a package from the npm registry
    11 downloads a week
  • parse-columns-cliParse text columns, like the output of unix commands. Returns JSON that you can manipulate with tools like jq or underscore-cli.
    11 downloads a week
  • random-word-cliGet a random English word
    11 downloads a week
  • repo-url-from-packageExtracts the repo URL from a package.json object
    11 downloads a week
  • shortcut-urlGet the URL from a web shortcut file
    11 downloads a week
  • string-width-cliGet the visual width of a string - the number of columns required to display it
    11 downloads a week
  • @file-type/plusBinary, XML, PDF and compound file detection
    10 downloads a week
  • archive-type-cliDetect the archive type of a file or stdin
    10 downloads a week
  • cat-padLeft pad a string with cats
    10 downloads a week
  • dark-mode-cliControl the macOS dark mode from the command-line
    10 downloads a week
  • empty-trash-cliEmpty the trash
    10 downloads a week
  • finder-pathGet the path of the current directory in Finder (macOS)
    10 downloads a week
  • get-emails-cliGet all emails in a text file or stdin
    10 downloads a week
  • is-hyperCheck if you're running in Hyper
    10 downloads a week
  • is-progressive-cliCheck if JPEG images are progressive
    10 downloads a week
  • pretty-time-zshConvert seconds to a human readable string: 165392 → 1d 21h 56m 32s
    10 downloads a week
  • alfred-dark-modeAlfred 3 workflow to toggle the system dark mode
    9 downloads a week
  • alfred-lockAlfred 3 workflow to lock your Mac
    9 downloads a week
  • alfred-playgroundMy cat&#39;s pajamas module
    9 downloads a week
  • archsList of processor architectures supported by Node.js
    9 downloads a week
  • file-utiGet the UTI (Uniform Type Identifier) of a file on macOS
    9 downloads a week
  • first-chunk-min-size-streamSet the minimum size of the first chunk in a stream
    9 downloads a week
  • hyper-hide-titleHide the Hyper window title when there is only one tab
    9 downloads a week
  • kotGot + Ky => Kot
    9 downloads a week
  • macos-version-cliGet the macOS version of the current system
    9 downloads a week
  • modify-keysModify the keys of an object
    9 downloads a week
  • normalize-packageNormalize packages based on various package manager's JSON files
    9 downloads a week
  • npm-email-cliGet the email of an npm user
    9 downloads a week
  • sindre-playgroundJust me experimenting 🦄🦄
    9 downloads a week
  • tmpinAdd stdin support to any CLI app that accepts file input
    9 downloads a week
  • to-double-quotes-cliConvert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns
    9 downloads a week
  • aperture.jsRecord the screen on macOS
    8 downloads a week
  • error-dialogDisplay an error in a GUI dialog
    8 downloads a week
  • file-icon-cliGet the icon of a file or app as a PNG image (macOS)
    8 downloads a week
  • filenamify-cliConvert a string to a valid safe filename on the command-line
    8 downloads a week
  • generator-h5bpHTML5 Boilerplate generator
    8 downloads a week
  • github-token-userGet the Github user from a token
    8 downloads a week
  • grunt-pageresCapture website screenshots
    8 downloads a week
  • has-ansi-cliCheck if a string has ANSI escape codes
    8 downloads a week
  • kap-streamableShare on Streamable
    8 downloads a week
  • lungo-cliControl the Lungo app from the command-line
    8 downloads a week
  • open-shortcutOpen the URL from a web shortcut file in the browser
    8 downloads a week
  • plashControl the Plash app from the command-line
    8 downloads a week
  • strip-indent-cliStrip leading whitespace from each line in a string
    8 downloads a week
  • supports-color-cliDetect whether a terminal supports color
    8 downloads a week
  • temporary-pathGet a random temporary path
    8 downloads a week
  • terminal-size-cliReliably get the terminal window size (columns & rows)
    8 downloads a week
  • binary-version-cliGet the version of a binary in semver format
    7 downloads a week
  • generator-server-configsScaffolds out webserver configuration for various platforms. Goes well with HTML5 Boilerplate.
    7 downloads a week
  • get-grunt-tasksGet the Grunt tasks from a grunt project
    7 downloads a week
  • git-versionget a github repository's versions with concurrency, caching, and rate limiting
    7 downloads a week
  • karma-avaKarma plugin for AVA
    7 downloads a week
  • magic-iterableCall a method on all items in an iterable by calling it on the iterable itself
    7 downloads a week
  • os-name-cliGet the name of the current operating system
    7 downloads a week
  • package-directory-cliFind the root directory of an npm package
    7 downloads a week
  • rgb-hex-cliConvert RGB color to HEX
    7 downloads a week
  • superheroes-cliGet superhero names on the command-line
    7 downloads a week
  • uti-cliGet the UTI (Uniform Type Identifier) of a file on macOS
    7 downloads a week
  • arr-includeInclude only certain items in an array
    6 downloads a week
  • generator-alfredScaffold out an Alfred workflow
    6 downloads a week
  • generator-ink-componentScaffold out an Ink component
    6 downloads a week
  • get-gulp-tasksGet the gulp tasks from a gulp project
    6 downloads a week
  • grunt-debug-filesDebug files run through grunt
    6 downloads a week
  • has-yarn-cliCheck if a project is using Yarn
    6 downloads a week
  • is-root-pathCheck if a path is the root path. Example: / or C:\
    6 downloads a week
  • kapQuick way to capture a screenshot to the current directory (macOS only)
    6 downloads a week
  • one-thingSet the text for the One Thing app
    6 downloads a week
  • set-mapMap over a Set
    6 downloads a week
  • strict-importPrevent require from searching upwards for required modules
    6 downloads a week
  • xbarSimplifies xbar app plugin creation
    6 downloads a week
  • github-versionsGet all semantic versions of a github repository
    5 downloads a week
  • pulleyEasy Github Pull Request Lander
    5 downloads a week
  • simple-color-paletteA JavaScript implementation of the Simple Color Palette format — a minimal JSON-based file format for defining color palettes
    5 downloads a week
  • unix-path-maxGet the maximum permitted length of a path of a Unix domain socket
    5 downloads a week
  • windows-cliGet metadata about the active window (title, id, bounds, owner, URL, etc)
    5 downloads a week
  • array-excludeExclude certain items from an array
    4 downloads a week
  • is-directory-emptyCheck if a directory is empty
    4 downloads a week
  • math-averageGet the average of numbers
    4 downloads a week
  • virtual-file[![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] [![Dependency Status][david-image]][david-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][dow
    4 downloads a week
  • yarn-upgrade-diffUpgrade Yarn dependencies with diffing of all the dependencies
    4 downloads a week
  • generator-ink-cliScaffold out a CLI based on Ink
    3 downloads a week
  • import-modifyModify the source of an imported module
    3 downloads a week
  • is-filesystem-case-sensitiveDetect whether the filesystem backing a path is case-sensitive
    3 downloads a week
  • css-extrasUseful CSS custom functions using the new @function rule
    2 downloads a week
  • finder-aliasResolve and create macOS Finder aliases
    2 downloads a week
  • modern-baseModern base style for the web
    2 downloads a week
  • is-low-power-modeCheck if the system is in low power mode
    1 download a week