{"_attachments":{},"_id":"shebang-command","_rev":"119510-61f19030bc2970060842ca89","author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"description":"Get the command from a shebang","dist-tags":{"latest":"2.0.0"},"license":"MIT","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"name":"shebang-command","readme":"# shebang-command [![Build Status](https://travis-ci.org/kevva/shebang-command.svg?branch=master)](https://travis-ci.org/kevva/shebang-command)\n\n> Get the command from a shebang\n\n\n## Install\n\n```\n$ npm install shebang-command\n```\n\n\n## Usage\n\n```js\nconst shebangCommand = require('shebang-command');\n\nshebangCommand('#!/usr/bin/env node');\n//=> 'node'\n\nshebangCommand('#!/bin/bash');\n//=> 'bash'\n```\n\n\n## API\n\n### shebangCommand(string)\n\n#### string\n\nType: `string`\n\nString containing a shebang.\n","time":{"created":"2022-01-26T18:17:20.728Z","modified":"2023-07-28T03:42:52.348Z","2.0.0":"2019-09-06T14:53:25.901Z","1.2.0":"2016-09-22T07:41:46.448Z","1.1.0":"2016-04-07T16:40:43.453Z","1.0.0":"2015-12-04T12:34:38.703Z"},"versions":{"2.0.0":{"name":"shebang-command","version":"2.0.0","description":"Get the command from a shebang","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/shebang-command.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["cmd","command","parse","shebang"],"dependencies":{"shebang-regex":"^3.0.0"},"devDependencies":{"ava":"^2.3.0","xo":"^0.24.0"},"gitHead":"003c4c7d6882d029aa8b3e5777716d726894d734","bugs":{"url":"https://github.com/kevva/shebang-command/issues"},"homepage":"https://github.com/kevva/shebang-command#readme","_id":"shebang-command@2.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"ccd0af4f8835fbdc265b82461aaf0c36663f34ea","size":1506,"noattachment":false,"tarball":"https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz","integrity":"sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shebang-command_2.0.0_1567781605734_0.5864042905313611"},"_hasShrinkwrap":false,"publish_time":1567781605901,"_cnpm_publish_time":1567781605901,"_cnpmcore_publish_time":"2021-12-13T13:15:48.587Z"},"1.2.0":{"name":"shebang-command","version":"1.2.0","description":"Get the command from a shebang","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/shebang-command.git"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["cmd","command","parse","shebang"],"dependencies":{"shebang-regex":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"01de9b7d355f21e00417650a6fb1eb56321bc23c","bugs":{"url":"https://github.com/kevva/shebang-command/issues"},"homepage":"https://github.com/kevva/shebang-command#readme","_id":"shebang-command@1.2.0","_shasum":"44aac65b695b03398968c39f363fee5deafdf1ea","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.6.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"44aac65b695b03398968c39f363fee5deafdf1ea","size":1585,"noattachment":false,"tarball":"https://registry.npmmirror.com/shebang-command/-/shebang-command-1.2.0.tgz","integrity":"sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg=="},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/shebang-command-1.2.0.tgz_1474530105733_0.9689246460329741"},"directories":{},"publish_time":1474530106448,"_hasShrinkwrap":false,"_cnpm_publish_time":1474530106448,"_cnpmcore_publish_time":"2021-12-13T13:15:48.854Z"},"1.1.0":{"name":"shebang-command","version":"1.1.0","description":"Get the command from a shebang","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/shebang-command.git"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["cmd","command","parse","shebang"],"dependencies":{"shebang-regex":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"18fc73453b88e4e964bb3e1fac3ae182a592b29b","bugs":{"url":"https://github.com/kevva/shebang-command/issues"},"homepage":"https://github.com/kevva/shebang-command#readme","_id":"shebang-command@1.1.0","_shasum":"dfccfee5147efa8c280055a959b699c9face4556","_from":".","_npmVersion":"3.7.0","_nodeVersion":"5.9.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"dfccfee5147efa8c280055a959b699c9face4556","size":1550,"noattachment":false,"tarball":"https://registry.npmmirror.com/shebang-command/-/shebang-command-1.1.0.tgz","integrity":"sha512-jteqK3ZnSWdwTGS+BpO7izPhx7Gh7NfVgCAhgRVbS558cBnjYj6nJ69mM0MtsxK4K3ODzrEg0BmiiTM+wINnKA=="},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/shebang-command-1.1.0.tgz_1460047240896_0.7961676171980798"},"directories":{},"publish_time":1460047243453,"_hasShrinkwrap":false,"_cnpm_publish_time":1460047243453,"_cnpmcore_publish_time":"2021-12-13T13:15:49.189Z"},"1.0.0":{"name":"shebang-command","version":"1.0.0","description":"Get the command from a shebang","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/shebang-command.git"},"author":{"name":"Kevin Martensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["cmd","command","parse","shebang"],"dependencies":{"shebang-regex":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"3e8916b560d65c8a23cb1ade598b65a8217fd59b","bugs":{"url":"https://github.com/kevva/shebang-command/issues"},"homepage":"https://github.com/kevva/shebang-command#readme","_id":"shebang-command@1.0.0","_shasum":"f5982f749b7bff0371127a947cb7d99ab64c142c","_from":".","_npmVersion":"3.5.1","_nodeVersion":"5.1.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"f5982f749b7bff0371127a947cb7d99ab64c142c","size":1566,"noattachment":false,"tarball":"https://registry.npmmirror.com/shebang-command/-/shebang-command-1.0.0.tgz","integrity":"sha512-h5gnT0WELZMZj5KZ25gjOBx2UeZ7czNOQa6AJgVtsuj0p8DJ1mnVQoddpfkQ5MYosmAfKkyTF4uhnPTU2VCxiw=="},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"directories":{},"publish_time":1449232478703,"_hasShrinkwrap":false,"_cnpm_publish_time":1449232478703,"_cnpmcore_publish_time":"2021-12-13T13:15:49.530Z"}},"bugs":{"url":"https://github.com/kevva/shebang-command/issues"},"homepage":"https://github.com/kevva/shebang-command#readme","keywords":["cmd","command","parse","shebang"],"repository":{"type":"git","url":"git+https://github.com/kevva/shebang-command.git"},"_source_registry_name":"default"}