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

1.0.0 • Public • Published

Introduction to package managers


This package helps to remove unnecessary word from the string.

Installing

$ npm install jsmp-infra-usachova-remove-word


How to use

To use this function import this like that:

const removeWord = require('jsmp-infra-luiza-usachova-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-luiza-usachova-remove-word

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.93 kB

Total Files

5

Last publish

Collaborators

  • luiza_usachova