🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

fluent-string

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-string

A Node API for handling Strings fluently

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
7
40%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

fluent

FAQs

Package last updated on 27 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts