jsmp-infra-hotsak-remove-word
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

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'

Package Sidebar

Install

npm i jsmp-infra-hotsak-remove-word

Weekly Downloads

0

Version

2.2.0

License

ISC

Unpacked Size

3.68 kB

Total Files

7

Last publish

Collaborators

  • mykyta_hotsak