npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@klippa/dochorizon-sdk

v1.0.4

Published

## NodeJS developer SDK for DocHorizon.

Downloads

3

Readme

NodeJSSDK

This is the Node JS Developer SDK for DocHorizon. The SDK offers multiple functions for accessing our API services within your own application.

DocHorizon API Key

To fully utilize this SDK you will need to authenticate using a DocHorizon API key. If you are interested in our services but do not have an API key yet, feel free to contact us here

Installation

install the SDK using npm.

npm install @klippa/dochorizon-sdk

or

npm i @klippa/dochorizon-sdk

Usage

  1. Authenticate using your api-key as follows: DocHorizon.authenticate({your-api-key})
  2. capture a document using the financial model (example): DocHorizon.financial.capture({your-document})
  3. If at any point you want to unauthenticate, use the following: DocHorizon.unauthenticate()


This SDK is organized into various services and can be accessed using the following syntax: DocHorizon.{service}. To use a specific function from a service, call upon that function using the following syntax: DocHorizon.{service}.{function}.

For a basic overview of provided services within this SDK, refer to the following section. For a more complete overview of all services and their functions and options, consult to the official [DocHorizon SDK documentation] (coming soon!)

Provided Services

The following services are included in this SDK:

  • Auth: Provides functions for retrieving information about the used API-key
  • Document Capturing: Provides generic functions regarding capturing models
  • Document Toolkit: Offers multiple function to get information from documents, merge documents, split documents, and render documents as images
  • Financial: Provides functions for using the financial capturing model
  • Generic: Provides functions for using the generic capturing model
  • Prompt Builder: Offers functions for using the prompt builder capturing model
  • Storage: Provides the ability to save a file to DocHorizon storage

Support

If you encounter any issues, please don't hesitate to contact us here.
Alternatively, you can refer to the DocHorizon documentation here.

License

The MIT License (MIT)