Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Get the command from a shebang

License

NotificationsYou must be signed in to change notification settings

kevva/shebang-command

Repository files navigation

Get the command from a shebang

Install

$ npm install shebang-command

Usage

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

API

shebangCommand(string)

string

Type:string

String containing a shebang.


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

About

Get the command from a shebang

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    [8]ページ先頭

    ©2009-2025 Movatter.jp