clap-separated-values
v1.0.0
Published
Tabular data format for 👏 separated values
Downloads
4
Readme
👏sv
Delimiting terms with 👏 is set to be the next Big Thing in software development. Everyone is doing it. Get in on the action with this npm package.
npm install --save clap-separated-values
Now, you can serialize and deserialize all your critical data safely. Take a look at this pet store database implementation:
const { readFileSync, writeFileSync } = require('fs');
const { fromCSV, toCSV } = require('clap-separated-values');
function addPet(species, name) {
const data = fromCSV(readFileSync('users.csv', 'utf-8'));
data.push({ species, name });
writeFileSync(toCSV(data));
}
All PRs accepted.
FAQ
Q: Why not use csv with a custom delimiter?
Why would you do such a thing?
Q: Does this support blockchain?
Yes
Q: Why?
It's important to stay on the bleeding edge of tech.