shebang-command

WebJar for shebang-command

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

shebang-command
Последняя версия

Последняя версия

2.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

shebang-command
WebJar for shebang-command
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/kevva/shebang-command

Скачать shebang-command

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/shebang-command/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>shebang-command</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/shebang-command/
implementation 'org.webjars.npm:shebang-command:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/shebang-command/
implementation ("org.webjars.npm:shebang-command:2.0.0")
'org.webjars.npm:shebang-command:jar:2.0.0'
<dependency org="org.webjars.npm" name="shebang-command" rev="2.0.0">
  <artifact name="shebang-command" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='shebang-command', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "shebang-command" % "2.0.0"
[org.webjars.npm/shebang-command "2.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : shebang-regex jar [3.0.0,4)

Модули Проекта

Данный проект не имеет модулей.

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.


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.

Версии библиотеки

Версия
2.0.0
1.2.0