sindresorhus


Sindre Sorhus
  • Generate random numbers that are consecutively unique

    published 4.0.0 2 months ago
  • Validate the name of a custom element

    published 3.0.0 3 years ago
  • Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`

    published 4.0.0 3 years ago
  • Get the arguments of a function, arrow function, generator function, async function

    published 6.0.0 3 years ago
  • Left-pad each line in a string

    published 3.0.0 3 years ago
  • Pad stdout and stderr

    published 3.0.0 3 years ago
  • Parse milliseconds into an object

    published 4.0.0 5 months ago
  • Convert Windows backslash paths to slash paths

    published 5.1.0 a year ago
  • Regular expression for matching semver versions

    published 4.0.5 2 years ago
  • Check if a Buffer/Uint8Array is a JPEG XR image

    published 2.0.0 3 years ago
  • Check if a Buffer/Uint8Array is a TIFF image

    published 2.0.0 3 years ago
  • Check if a Buffer/Uint8Array is a PSD image

    published 2.0.0 3 years ago
  • Check if a Buffer/Uint8Array is a WebP image

    published 2.0.0 3 years ago
  • Check if a Buffer/Uint8Array is a GIF image

    published 4.0.1 3 years ago
  • Check if a Buffer/Uint8Array is a BMP image

    published 2.0.0 3 years ago
  • Check if a Buffer/Uint8Array is a JPEG image

    published 3.0.0 3 years ago
  • Get the default browser

    published 5.2.1 5 months ago
  • Sort the keys of an object

    published 5.0.0 3 years ago
  • Split lines into an array of lines

    published 3.0.0 3 years ago
  • Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

    published 6.0.0 a year ago
  • Remove specially flagged feature blocks and debug statements using Defeatureify

    published 2.0.0 6 years ago
  • Precompile Dust templates

    published 2.0.0 6 years ago
  • Minify CSS using CSSO

    published 5.0.0 22 days ago
  • Minify JavaScript with Closure Compiler

    published 2.0.0 6 years ago
  • Check if a Buffer/Uint8Array is EPUB

    published 2.0.0 3 years ago
show more packages