Module

x/dax/src/common.ts>getExecutableShebangFromPath

Cross-platform shell tools for Deno and Node.js inspired by zx.
Extremely Popular
Latest
function getExecutableShebangFromPath
import { getExecutableShebangFromPath } from "https://dotland.deno.dev/x/dax@0.39.2/src/common.ts";

Gets an executable shebang from the provided file path.

Parameters

path: string