fluent-string

0.0.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0

Package Sidebar

Install

npm i fluent-string

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • fagner