Skip to main content
Module

x/wmill/script.ts>inferContentTypeFromFilePath

Open-source web IDE, scalable runtime and platform for serverless, workflows and UIs
Go to Latest
function inferContentTypeFromFilePath
import { inferContentTypeFromFilePath } from "https://deno.land/x/wmill@v1.63.2/script.ts";

Parameters

contentPath: string

Returns

| "python3"
| "deno"
| "go"
| "bash"