fluent-string

v0.0.1
  • Types
  • ESM
  • CJS

A Node API for handling Strings fluently

License
MIT
Install Size
-
Vulns
0
Published

Get started

$npm install fluent-string
$pnpm add fluent-string
$yarn add fluent-string
$bun add fluent-string
$deno add npm:fluent-string
$vlt install fluent-string

Readme

Fluent String

A Node API for handling Strings fluently

Examples

var FluentString = require("fluent-string");
FluentString("Get on the bus").replace("bus").with("car"); // => Get on the car
FluentString("Get on the bus").replace("get").ignoringCase().with("go"); // => go on the bus
FluentString("run run").replace.all("run").with("go"); // => go go
FluentString("RUN RUN").replace.all("run").ignoringCase().with("go"); // => go go

Weekly DownloadsAcross all versions

Versions

0.0.1
latest