make-executable
v2.0.2
Published
Set the executable bits on a file
Downloads
1,905
Maintainers
Readme
If I should maintain this repo, please ⭐️
DM me on Twitter if you have questions or suggestions.
Installation
yarn add make-executable
npm install make-executable
pnpm add make-executable
API
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
Related Packages
- 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