1.0.6 • Published 5 years ago

text-to-array v1.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

text-to-array

To convert any text file as key-value pair to an array

To install

npm install read-text-file --save

const textToArray = require('text-to-array');
 
var dataArray = textToArray.getArray(path); // Path of the text File

console.log(dataArray); // dataArray of file

i.e

The text file should be in form of key-value pair.

example :

key1 : value1
key2 : value2
key3 : value3

Author

Tanumay Ghosh

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago