string-replace-all
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i string-replace-all

Weekly Downloads

230

Version

2.0.0

License

none

Unpacked Size

3.51 kB

Total Files

9

Last publish

Collaborators

  • fabiospampinato