nominal2key-csv
v1.1.3
Published
This is just a little tool that makes for help you process your CSV file easier by convert 'Text' to be Key like Key-Value Pairs. and Yes!! It's can convert from Nominal --> Binary
Downloads
2
Maintainers
Readme
Nominal2KeyCSV
This is just a little tool that makes for help you process your CSV file easier by convert 'Text' to be Key like Key-Value Pairs. and Yes!! It's can convert from Nominal --> Binary
Features!
- Convert Nominal --> Numerical
- Convert Nominal --> Binary
- Create MetaData File
Installation
$ npm install nominal2key-csv --save
How to use
Basic use ...
const txt2kv = require('nominal2key-csvv');
txt2kv({
filename: './data.csv',
outputFilename: './newData.csv',
outputMetaData: './metadata.json',
column: 0,
});
With async await ...
const txt2kv = require('nominal2key-csv');
async function doSomething() {
const status = await txt2kv({
filename: './data.csv',
outputFilename: './newData.csv',
outputMetaData: './metadata.json',
column: 0,
});
console.log(status); // should be true
}
doSomething();
Convent From Nominal to Binary
const txt2kv = require('nominal2key-csv');
txt2kv({
filename: './data.csv',
outputFilename: './newData.csv',
outputMetaData: './metadata.json',
column: 0,
mode: 'binary',
});
Example
Example : RawData
Example : After Convert to Numerical Example : MetaData
Example : Convert To Bin
Todos
- Tell me want do you want
- or PR whatever you want
- Even 'Test' !!!
License
MIT
" Make It What You Want! "
Don't forget to Pull Request!!!
ima8.