sindresorhus / root-check
Try to downgrade the permissions of a process with root privileges and block access if it fails
☆31Updated last year
Alternatives and similar repositories for root-check:
Users that are interested in root-check are comparing it to the libraries listed below
- Detect the dominant newline character of a string☆55Updated last year
- List of node.js builtin modules☆38Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 9 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆59Updated 9 months ago
- Get the auth token set for an npm registry☆35Updated 2 months ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆92Updated 2 years ago
- Manipulate the HTTP Vary header☆61Updated 11 months ago
- Convert a value to an array☆129Updated 3 years ago
- Check if something is a promise☆46Updated 4 years ago
- Write a package.json file☆88Updated 9 months ago
- Break out of a promise chain☆23Updated 4 years ago
- Cross-browser element class manipulation☆52Updated 4 years ago
- The cmd-shim used in npm☆77Updated 2 weeks ago
- Get the file extension and MIME type from a file☆26Updated 7 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 9 months ago
- Check if a file path is a text file☆18Updated 11 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- A list of directories you should ignore by default☆23Updated 2 years ago
- timers module for browserify☆24Updated 4 months ago
- Get the user's default shell☆40Updated 3 years ago
- Check if a value is a plain object☆102Updated 11 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 8 months ago
- Check if a Buffer/Uint8Array is a PNG image☆47Updated 2 years ago