Utility package to help parse AWS Textract response
npm install aws-textract-extractor
import extractor from 'aws-textract-extractor';
const { pairs, tables } = extractor.extract(blocks)
Type: Block[]
Blocks response from AWS Textract commands.
Type: object
An object with extracted forms data as key-value pair and tables data
{
"pairs": { },
"tables": [ ]
}