云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
hexo
/
hexo-blog
/
node_modules
/
shebang-command
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
index.js
2023-11-13 01:33:41
387 B
license
2023-11-13 01:33:41
1.09 KB
package.json
2023-11-13 01:33:41
558 B
readme.md
2023-11-13 01:33:41
495 B
# shebang-command [](https://travis-ci.org/kevva/shebang-command) > Get the command from a shebang ## Install ``` $ npm install shebang-command ``` ## Usage ```js 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.
2025-08-29 16:28:52 Friday 216.73.216.167 Runningtime:0.011s Mem:1.48 MB