Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ndeno/src/deps.ts>paramCase

js runtime project management tool / js runtime 项目管理工具
Go to Latest
function paramCase
import { paramCase } from "https://deno.land/x/ndeno@v2.0.4/src/deps.ts";

Convert a string to param case.

Example:

paramCase("test string");
//=> "test-string"

Parameters

value: string
optional
locale: string

Returns

string