https://github.com/applefreak/airtable2lowdb
Converts Airtable base to LowDB compatible objects
https://github.com/applefreak/airtable2lowdb
airtable json lowdb static-site-generator
Last synced: 3 months ago
JSON representation
Converts Airtable base to LowDB compatible objects
- Host: GitHub
- URL: https://github.com/applefreak/airtable2lowdb
- Owner: applefreak
- Created: 2018-03-14T04:34:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T06:50:08.000Z (about 8 years ago)
- Last Synced: 2025-11-02T19:25:40.189Z (7 months ago)
- Topics: airtable, json, lowdb, static-site-generator
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# airtable2lowdb
Converts Airtable base to [LowDB](https://github.com/typicode/lowdb) compatible object
## Install
```
npm install --save airtable2lowdb
```
## Usage
```js
const exportToLowdb = require('airtable2lowdb')
exportToLowdb({
name: 'Your table name', // Not really needed
atApiKey: 'YOUR_API_KEY', // Get this in your Airtable account page
baseId: 'YOUR_BASE_ID', // Get this in the API docs
tables: [ // List of table names you want to export
'Table 1 name',
'Table 2 name',
'Table 3 name'
]
}).then(results => console.log(results))
```
This will output an object with table names as key and arrays of row objects in that table as value
## License
[MIT](https://poyu.mit-license.org/)