Common
@contracthero/common
contains utility functions that are used across the ContractHero platform.
ocr
partionBlocks
Simplifying textract result by grouping and reording blocks in similar positions (like columns) into the same group.
parser
Different kind of data parser especially used to convert data from raw contract PDFs into common formats.
Installation
Use npm or yarn to install @contracthero/common
npm install @contracthero/common
Type definitions for TypeScript are included.
Release a new version
Currently, new verisons are not automatically published.
When publishing a version, run npm run release
. This publishes a new version of the package to our private NPM registry.