0.1.4 • Published 4 years ago
integreat-adapter-csv v0.1.4
CSV adapter for Integreat
Adapter that lets Integreat read and save CSV files.
Getting started
Prerequisits
Requires node v8.6 and Integreat v0.7.
Installing and using
Install from npm:
npm install integreat-adapter-csvExample 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 usualExample source configuration:
{
id: 'csvfile',
adapter: 'csv',
endpoints: [
{ options: { delimiter: ';' } }
]
}Running the tests
The tests can be run with npm test.
Contributing
Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests.
License
This project is licensed under the ISC License - see the LICENSE file for details.