Skip to main content
Module

x/wmill/script.ts>inferContentTypeFromFilePath

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
function inferContentTypeFromFilePath
import { inferContentTypeFromFilePath } from "https://deno.land/x/wmill@v1.228.0/script.ts";

Parameters

contentPath: string

Returns

| "python3"
| "deno"
| "bun"
| "nativets"
| "go"
| "bash"
| "powershell"
| "postgresql"
| "mysql"
| "bigquery"
| "snowflake"
| "mssql"
| "graphql"