New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mdb

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdb

use mdbtools from node to convert MS Access databases (.mdb and .accdb) to CSV

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

mdb

npm install mdb

what

use the mdbtools CLI tool (written in C) from node to convert MS Access databases to CSV

these aren't native bindings, they just talk to stdin/stdout/stderr of mdbtools (specifically mdb-tables and mdb-export)

requirements

install https://github.com/brianb/mdbtools. as of this writing I could only get it to compile on Ubuntu and not OS X

also as of this writing mdbtools supports .mdb and .accdb files up through Access 2010

usage

var fruit = mdb('fruit.mdb')

fruit.tables(function(err, tables) {
  tables.forEach(function(table) {
    fruit.toCSV(table, function(err, csv) {
      console.log(err, table, csv.split('\n').length - 1 + " lines")
    })
  })
})

MIT LICENSE

FAQs

Package last updated on 09 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts