jsmp-infra-mariia-sychova-wordreplace
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Wordreplace

Replaces all occurrences of a particular word with another one.

Install

$ npm install wordreplace

Usage

const { wordreplace } = require('wordreplace');

wordreplace('Replace me, replace me, replace me!', 'replace', 'do not touch');
//=> 'Replace me, do not touch me, do not touch me!'

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i jsmp-infra-mariia-sychova-wordreplace

    Weekly Downloads

    1

    Version

    2.0.0

    License

    ISC

    Unpacked Size

    1.99 kB

    Total Files

    5

    Last publish

    Collaborators

    • mariiaschv