mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 13:13:37 +08:00
DISABLE_THIRD_PARTY_CHECK=Updates package.json Bug: 1041811 Change-Id: I9493880aed334f02e5899efed3fc8bb964d0bbb0 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1998770 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
shebang-command 
Get the command from a shebang
Install
$ npm install --save 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.
License
MIT © Kevin Martensson