Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ndeno/src/deps.ts>paramCase

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

Convert a string to param case.

Example:

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

Parameters

value: string
optional
locale: string

Returns

string