--- title: "@std/text" description: "Utilities for working with text" jsr: jsr:@std/text pkg: text version: 1.0.17 generated: true stability: stable --- ## Overview
Utility functions for working with text.
```js 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"]); ``` ### Add to your project ```sh deno add jsr:@std/text ``` See all symbols in @std/text on