2.2.0 • Published 3 years ago

jsmp-infra-hotsak-remove-word v2.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Introduction to package managers


This package helps to remove unnecessary word from the string.

Installing

$ npm install jsmp-infra-mykyta-hotsak-remove-word


How to use

To use this function import this like that:

const removeWord = require('jsmp-infra-mykyta-hotsak-remove-word');

removeWord(string, word)

  • string - The string, which you want to delete a word;
  • word - the word, which you want to remove;

Tests


Run "npm run test:unit" or "yarn test:unit" to check if everything works as expected.

Usage


removeWord('Hello world', 'world'); // 'Hello'

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago