1.0.6 • Published 6 years ago

text-to-array v1.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
6 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

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago