Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

shebang-command

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

shebang-command

Get the command from a shebang

    2.0.0latest
    Github

Version published
Maintainers
1
Weekly downloads
53,226,747
increased by0.9%

Weekly downloads

Readme

Source

shebang-command Build Status

Get the command from a shebang

Install

$ npm install shebang-command

Usage

const shebangCommand = require('shebang-command'); shebangCommand('#!/usr/bin/env node'); //=> 'node' shebangCommand('#!/bin/bash'); //=> 'bash'

API

shebangCommand(string)

string

Type: string

String containing a shebang.

Keywords

FAQs

What is shebang-command?

Get the command from a shebang

Is shebang-command popular?

The npm package shebang-command receives a total of 50,557,150 weekly downloads. As such, shebang-command popularity was classified as popular.

Is shebang-command well maintained?

We found that shebang-command demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 06 Sep 2019

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc