1.1.18 • Published 8 months ago

@contracthero/common v1.1.18

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

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.

Document:

  • acceptedMimetypeExtensionMap: This constant provides a mapping of accepted MIME types to their corresponding file extensions. It can be used to validate file types based on their MIME type or file extension and ensure that only supported types are processed.
  • isAcceptedMimetype: Checks if mimetype is one of the accepted mimetypes

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 versions 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.

1.1.18

8 months ago

1.1.16

9 months ago

1.1.15

10 months ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.13

11 months ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.2

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago