0.1.4 • Published 3 years ago

integreat-adapter-csv v0.1.4

Weekly downloads
6
License
ISC
Repository
github
Last release
3 years ago

CSV adapter for Integreat

Adapter that lets Integreat read and save CSV files.

npm Version Build Status Coverage Status Dependencies Status Maintainability

Getting started

Prerequisits

Requires node v8.6 and Integreat v0.7.

Installing and using

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: ';' } }
  ]
}

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.

0.1.4

3 years ago

0.1.3

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago