@pipe0/client-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.41 • Public • Published

Introduction

Pipe0 is a framework for data enrichment. If you have some data about a person or company but want more, you can do that in an infinite number of ways with pipe0.

The ability to enrich data is a requirement for many apps. You may dream of a CRM that updates itself or a sales copilot helping SDRs prepare for upcoming meetings. Data enrichment enables these features but is surprisingly hard to build.

At pipe0, we're on a mission to build the fastest, most extensible data enrichment framework in the world.

Here are some things pipe0 does for you:

  • 🔌 Connect 50+ data providers
  • 💨 Analyze enrichment pipelines and parallelize execution (we're fast!)
  • 💰 Run enrichment, scraping and AI infrastructure at low cost (we take 0% margin on external providers)

Browser SDK

This package contains the browser SDK for pipe0. It is written in TypeScript and contains many useful types and utilities for building UI-based apps based on pipe0.

Quckstart

The main way to interact with the SDK is the Pipe0 class. Use it like this.

export const pipe0 = new Pipe0({ url: YOUR_SERVER_URL });

const req = pipe0.request
  .create({
    pipes: initialPipeList,
    input: initialInput,
    inputFieldDefinitions,
  })
  .validate()
  .getResponse();

const res = await req.send();

What makes a framework?

The term framework may surprise you because pipe0 is an API, dashboard, and SDK.

While you can perform powerful enrichments in just 10 lines of code, you can choose to express logic and direction of data flow with it, too.

The following is an example of an enrichment flow that requires logic.

FIND phone number of person
IF found
    FIND website of current employer
IF NOT found
    FIND work email address

Your first instinct might be to implement this with code. However, pipe0 offers a much simpler way to express this and removes brittle spaghetti code once and for all.

Useful links

Package Sidebar

Install

npm i @pipe0/client-sdk

Weekly Downloads

89

Version

0.0.41

License

MIT

Unpacked Size

799 kB

Total Files

114

Last publish

Collaborators

  • florianmartens