sindresorhus / root-check
Try to downgrade the permissions of a process with root privileges and block access if it fails
☆31Updated last year
Related projects ⓘ
Alternatives and complementary repositories for root-check
- ☆45Updated 2 years ago
- Break out of a promise chain☆22Updated 3 years ago
- Convert a value to an array☆131Updated 3 years ago
- Cross-browser element class manipulation☆52Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Is this an ES6 generator function?☆49Updated 2 years ago
- List of node.js builtin modules☆38Updated 7 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- Check if something is a promise☆47Updated 3 years ago
- The cmd-shim used in npm☆76Updated last month
- Import a globally installed module☆57Updated 10 months ago
- Check if a file path is a text file☆16Updated 6 months ago
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 6 months ago
- Manipulate the HTTP Vary header☆61Updated 5 months ago
- Get tags from a remote git repo. Using only JS. No git binary required.☆49Updated 2 years ago
- Write a package.json file☆89Updated 3 months ago
- Convert a dash/dot/underscore/space separated string to UpperCamelCase: foo-bar → FooBar☆81Updated 2 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 3 months ago
- Check if a value is a plain object☆101Updated 6 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 4 months ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 2 years ago
- Download and extract a GitHub repository from node.☆42Updated last year
- Get the set npm registry URL☆53Updated 2 years ago
- Check whether a request can be retried based on the `error.code`☆78Updated 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☆86Updated 2 years ago
- Create a Vinyl file from an actual file☆41Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Node.js module to get the last git commit information - mostly to be used by CI/CD and building phase.☆19Updated 2 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆54Updated 3 months ago