How walebant/company-verify works
company-verify is a small Node.js library for searching Nigeria’s Corporate Affairs Commission (CAC) company records and Federal Inland Revenue Service (FIRS) taxpayer details. Consumers call the exported search functions; each controller contacts its respective government service and returns the response data. The source shows these two independent flows, not a shared storage layer. Note: the FIRS criteria condition appears to reject every value, so its documented lookup flow may not reach the request. The map is based on the README and the indexed, excerpted source files.
Main entry points: cac_search.js Company search · firs_search.js Taxpayer search · index.js Exports
Components 6
Public API
- Exports
index.js
CAC Search
- Company search
src/controllers/cac_search.js - CAC service
FIRS Lookup
- Taxpayer search
src/controllers/firs_search.js - FIRS service
Other components
- Package consumer
Connections 9
- Package consumer → Exports: imports and calls
README.md - Exports → Company search: exports
index.js - Exports → Taxpayer search: exports
index.js - Company search → CAC service: POSTs search
src/controllers/cac_search.js - CAC service → Company search: returns JSON
src/controllers/cac_search.js - Company search → Package consumer: returns results
README.md - Taxpayer search → FIRS service: POSTs lookup
src/controllers/firs_search.js - FIRS service → Taxpayer search: returns HTML
src/controllers/firs_search.js - Taxpayer search → Package consumer: returns details
README.md