Big update!Introducing GitHub Bot Commands. Learn more
Socket
BlogLoveLog in
Book a demo

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

Version published
Maintainers
1
Weekly downloads
52,050,912
increased by2.85%

Weekly downloads

Changelog

Source

  • Require Node.js 8 c546120
  • Meta tweaks 881d1c4

https://github.com/kevva/shebang-command/compare/v1.2.0...v2.0.0

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 49,739,841 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
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc