1.0.8 • Published 3 years ago

special-file-nir-adi-clb v1.0.8

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

special-file-nir-adi-clb

Performing operations on a file (counting, replacing, etc).

How To Use

Run 

1. npm i special-file-nir-adi-clb . 

Usage

Here's a brief intro about what a developer must do in order to start developing the project further:

const special = require('special-file-nir-adi-clb');


special.write_new_file('mynewfile1.txt','Hello nir  and  adi !');
special.count_words_in_file('mynewfile1.txt');
special.count_lines_in_file('mynewfile1.txt');
special.replace_words_in_file('mynewfile1.txt','hello','nir');
special.count_common_word('mynewfile1.txt')

API's

MethodTypeDescription
.write_new_filestring/fileinput file name and content (string) and creates a file
.delete_filestring/fileinput file name and deleted a file
.count_words_in_fileintinput file name returen count words in file
.count_lines_in_fileintinput file name returen count lines in file
.replace_words_in_filestring/fileinput file name and string returen replace words in file
.count_common_worddictionaryinput file name returen count common word in file
1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago