UNPKG

flatfile-csv-importer

Version:

A simple adapter for elegantly importing CSV files via flatfile.io (Typescript, ES6, Browser)

13 lines (9 loc) 321 B
const express = require('express') const path = require('path') const app = express() app.set('port', 8080) app.use(express.static(path.join(__dirname, '/build/dist/'))) const server = app.listen(app.get('port'), function () { const port = server.address().port console.log('Adapter listening on port ' + port) })