integreat-adapter-csv
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i integreat-adapter-csv

Weekly Downloads

1

Version

0.1.4

License

ISC

Unpacked Size

21.2 kB

Total Files

15

Last publish

Collaborators

  • kjellmorten