Adapter that lets Integreat read and save CSV files.
Requires node v8.6 and Integreat v0.7.
Install from npm:
npm install integreat-adapter-csv
Example of use:
const integreat = require('integreat')
const cvsAdapter = require('integreat-adapter-csv')
const defs = require('./config')
const resources = integreat.resources(csvAdapter)
const great = integreat(defs, resources)
// ... and then dispatch actions as usual
Example source configuration:
{
id: 'csvfile',
adapter: 'csv',
endpoints: [
{ options: { delimiter: ';' } }
]
}
The tests can be run with npm test
.
Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the ISC License - see the LICENSE file for details.