Set the executable bits on a file.
If I should maintain this repo, please ⭐️
DM me on Twitter if you have questions or suggestions.
import { makeExecutable, makeExecutableSync } from "make-executable";
function makeExecutable(path: string): Promise<boolean | undefined>;
function makeExecutableSync(path: string): boolean | undefined;
- @types/mock-fs: TypeScript definitions for mock-fs
- @types/node: TypeScript definitions for Node.js
- autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.
- mock-fs: A configurable mock file system. You know, for testing.
MIT - The MIT License
- fs-safe: A simple fs wrapper that doesn't throw
- read-file-safe: Read files without try catch
- write-file-safe: Write files, and parent directories if necessary
- remove-file-safe: Remove a file without try catch
- watch-file-safe: Watch a file for changes