# mdb

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

Latest version **0.1.0** (published 2013-04-09) · 0 weekly downloads

## Install

```sh
npm install mdb
pnpm add mdb
yarn add mdb
bun add mdb
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2013-04-09 |
| First published | 2012-08-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Author | Max Ogden |
| Maintainers | maxogden |

## Links

- npm: https://www.npmjs.com/package/mdb
- Repository: http://github.com/maxogden/node-mdb
- Issues: http://github.com/maxogden/node-mdb/issues
- npm.io page: https://npm.io/package/mdb

## Dependencies (1)

- [concat-stream](https://npm.io/package/concat-stream.md) 0.0.7

## Recent versions

- 0.1.0 (latest) — 2013-04-09
- 0.0.6 — 2012-08-03
- 0.0.5 — 2012-08-03
- 0.0.4 — 2012-08-03
- 0.0.2 — 2012-08-03
- 0.0.1 — 2012-08-03

## README

# 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

---
_Source: https://npm.io/package/mdb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
