Node.js ESM importer for FAA NASR CSV datasets with MySQL and SQLite exports.
- Features
- Requirements
- Setup
- Usage
- Development
- Testing
- Troubleshooting
- Security
- Configuration
- Operations
- Support
- Links
- License
FC2S imports FAA NASR CSV datasets into MySQL or SQLite and writes compressed exports.
Use Node.js 26 or later and npm 12 or later. MySQL imports require a MySQL-compatible server, mysqldump, and tar. SQLite uses Node.js built-in node:sqlite.
Run npm ci from the repository root. Copy .env.example to .env, then set the database driver and any required connection values.
Run npm run get:dates to list FAA release dates. Run npm run current or npm run latest to import a dataset and create its compressed export.
See the usage guide, command index, and release notes. Find all user guides in the documentation index.
Use native ESM for maintained JavaScript modules. Read AGENTS.md for contributor instructions and the specification index for repository rules.
Run npm test from the repository root for aggregate validation.
See the troubleshooting guide for setup, download, import, and export errors.
Keep .env, downloaded datasets, and generated exports out of Git. A repeated MySQL import drops and recreates the database for that date.
See the configuration table for defaults and required settings.
See the usage guide for dataset selection, output names, and cleanup behavior.
For help, questions, or to chat with the author and community, visit:


