jsmp-infra-davydova-olha-wordremove
v1.0.2
Published
Remove a given word from a string
Downloads
4
Readme
jsmp-infra-davydova-olha-wordremove
jsmp-infra-davydova-olha-wordremove remove a given word from a string
Installation
npm install jsmp-infra-davydova-olha-wordremove
Usage
Basic usage is really simple. You call the function that jsmp-infra-davydova-olha-wordremove exports. Let's call it removeWord.
const {removeWord} = require("./removeWord");
removeWord("hello world", "hello");
//hello world => world