🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

execify-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

execify-cli

Easily make a Node.js CLI executable.

0.1.0
latest
Source
npm
Version published
Weekly downloads
2
-90.48%
Maintainers
1
Weekly downloads
 
Created
Source

execify-cli

Easily make a Node.js CLI executable. Sets permissions (chmod +x) and handles common TypeScript conversions. See Roadmap for more details.

Install

npm install --save-dev execify-cli
Other Package Managers
yarn add --dev execify-cli

Usage

Usage
  $ execify [globs…]

Options
  --package, --pkg, -p  Set every binary in package.json as executable
  --fix-shebang         Convert shebangs to "#!/usr/bin/env node"

Examples
  $ execify cli.js

  $ execify --pkg test/fixtures/**/cli.js

  $ execify --fix-shebang dist/ts-cli.js

Roadmap

v0.1.0 is a minimal release. The following features were cut and will be added in the next minor version:

  • TypeScript import path mapping from tsconfig.json paths option
  • A flag to fix all TypeScript-related conversions
  • Logging of completed/failed files, improved error handling

Keywords

cli

FAQs

Package last updated on 08 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts