Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
denoland/stdWorks with
•JSR Score100%•This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




License
•MIT
Downloads13,120/wk
•Publisheda month ago (1.0.19)
Utilities for working with text
Utility functions for working with text.
import { toCamelCase, compareSimilarity } from "@std/text"; import { assertEquals } from "@std/assert"; assertEquals(toCamelCase("snake_case"), "snakeCase"); const words = ["hi", "help", "hello"]; // Words most similar to "hep" will be at the front assertEquals(words.sort(compareSimilarity("hep")), ["help", "hi", "hello"]);
Built and signed on
GitHub Actions
Add Package
deno add jsr:@std/text
Import symbol
import * as text from "@std/text";
Import directly with a jsr specifier
import * as text from "jsr:@std/text";