Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Light-weight wrapper for the newer Promise-based MediaDevices.getUserMedia API with a fallback to navigator.getUserMedia (and it's prefixed variants)
- getUserMedia
- webkitGetUserMedia
- mozGetUserMedia
- navigator.msGetUserMedia
- get
- user
- media
- promise
- MediaDevices
- ponyfill
- polyfill
- pollyfill
- shim
- wrapper
- View more
Elements for accessing data from media input devices
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
Get paths for storing things like data, config, cache, etc
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Resolve a directory that is either local, global or in the user's home directory.
Get the system locale
A replacement component for the react-router `<Prompt/>`. Allows for more flexible dialogs.
Check if the process is running as root user, for example, one started with `sudo`
Get the user home directory with fallback to the system temp directory
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Parse a github URL into an object.
Emulate CSS user preferences in Storybook
- storybook-addons
- conditions
- css
- emulate
- emulates
- emulation
- media
- query
- queries
- preferences
- prefers-color-scheme
- prefers-contrast
- prefers-reduced-data
- prefers-reduced-motion
- View more
A cross-platform path to the user's home
Get a GitHub username from an email address
Get metadata on the default editor or a specific editor
React hook for accessing user media.
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)
- appdir
- application
- cache
- common
- config
- cross-platform
- data
- directory
- environment
- linux
- mac
- macos
- node4
- node6
- View more
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing