Set the executable bits on a file
npm install make-executableSet the executable bits on a file.
_If I should maintain this repo, please ⭐️_
_DM me on Twitter if you have questions or suggestions._
---
``sh`
yarn add make-executable
`sh`
npm install make-executable
`sh`
pnpm add make-executable
`ts
import { makeExecutable, makeExecutableSync } from "make-executable";
function makeExecutable(path: string): Promise
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