@regrapes/access-db-parser
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

@regrapes/access-db-parser

Forked from QuentinJanuel/AccessDB-parser which was originally a rewrite of the python package claroty/access_parser

Use

import { AccessParser } from "@regrapes/access-db-parser";
import fs from 'fs'

// Load your access file in a node buffer
const dbFile = fs.readFileSync('./YOUR_FILE.accdb')

const db = new AccessParser(myFileBuffer);

const tables = db.getTables(); // -> ["tableName1", "tableName2"]

const table = db.parseTable("tableName1"); // -> [{data: {name: "John", age: 23}, rowNumber: 1},{data: {name: "Bill", age: 56}, rowNumber: 2}]

Special thanks

/@regrapes/access-db-parser/

    Package Sidebar

    Install

    npm i @regrapes/access-db-parser

    Weekly Downloads

    40

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    177 kB

    Total Files

    31

    Last publish

    Collaborators

    • tim.fullert
    • regrapes-bot
    • torsten4385
    • tsollbach
    • jguse