@typeflowai/js
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

TypeflowAI Browser JS Library

npm package MIT License

Please see TypeflowAI Docs. Specifically, Quickstart/Implementation details.

What is TypeflowAI

TypeflowAI is your go-to solution for in-product micro-workflows that will supercharge your product experience! 🚀 For more information please check out typeflowai.com.

How to use this library

  1. Install the TypeflowAI package inside your project using npm:
npm install -s @typeflowai/js
  1. Import TypeflowAI and initialize the widget in your main component (e.g., App.tsx or App.js):
import typeflowai from "@typeflowai/js";

if (typeof window !== "undefined") {
  typeflowai.init({
    environmentId: "your-environment-id",
    apiHost: "https://dashboard.typeflowai.com",
  });
}

Replace your-environment-id with your actual environment ID. You can find your environment ID in the Setup Checklist in the TypeflowAI settings.

For more detailed guides for different frameworks, check out our Framework Guides.

/@typeflowai/js/

    Package Sidebar

    Install

    npm i @typeflowai/js

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.56 MB

    Total Files

    12

    Last publish

    Collaborators

    • ycfra