2.0.0 • Published 2 years ago

string-replace-all v2.0.0

Weekly downloads
43
License
-
Repository
github
Last release
2 years ago

stringReplaceAll

Replaces all the occurrences of a string into a string with another string.

Install

$ npm install --save string-replace-all

Usage

import stringReplaceAll from 'string-replace-all';

stringReplaceAll ( 'A tiny tiny tiger', 'tiny', 'small' ); // 'A small small tiger'

Related

License

MIT © Fabio Spampinato