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 🙏

© 2026 – Pkg Stats / Ryan Hefner

connectors-core

v0.0.1-beta.0

Published

connectifi core library of delivery hooks and actions

Readme

Connectifi Connectors

Example Actions Connectors and Delivery Hooks for the Connectifi Integration Platform. Use this repo as a starting point and building blocks for implementing your own integrations with Connectifi.

About Connectifi

Connectifi is a next generation integration platform that connects applications, services, and agents with deep user experience integration that works across any device and client technology. Connectifi integrates full stack, with support for the FDC3 protocol for UI integration and REST integration with services and SaaS applications.

Working with Context Data and Intents

Inspired by the Android and Apple intents systems, Connectifi uses Intents and Context metadata to describe functions and data interfaces and support reusable, plug and play integrations across APIs and apps. Use the provided FDC3 and Connect name spaces and/or define your own.

Connector Types

There are two main types of connectors in this project:

  • Delivery Hooks - which transform context data just before it is delivered to one or more destinations.
  • Actions - which respond to an intent to return either a URL to launch or a data response.

Delivery Hooks

Delivery Hooks act as transformers on the Connectifi message bus, acting whenever context data messages are delivered whether from a broadcast or an intent. Delivery Hooks are assigned to act on specific context data types on a per/directory basis and they can modify context data selectively based on the recipient, this is extremely helpful for use cases such as mapping identifiers across multiple destinations and selectively redacting sensitive data.

Launch Actions

Launch Actions allow an application to perform data transformations ahead of launching a specific destination or to define services that perform actions which result in the launch of a particular destination. For example, launch actions can be used to lookup a SlackId from an email in order to generate the deep link to start a chat with the user. Or, a launch action could be used to post a new contact into Hubspot and then launch the contact's Hubspot page directly.

Data/API Actions

Data/API Actions allow an application to leverage REST services to return data for an intent. The response data can then be used by the calling application without the need to launch another instance. For example, from a it's UI, an application can raise the GetPrice intent and the end user can choose the source they want to get pricing data from. On response, the application UI can be updated based on a standard context data format. The raising application didn't have to build bespoke integrations into each data source and it can let the end user choose their source based on their own preference.

Getting Started

This project contains connector implementations, written in Typescript, along with Serverless configurations for common cloud providers. It's build using the connectifi SDK.

Setup

The first step is to install the dependencies for this repo:

npm install

Once you have the dependencies installed, the next thing to do is deploy to your cloud provider.

Deployment

Deployment is standard serverless deployment. You'll need to have your credentials all setup in order to deploy the API functions. There is more info in the README files in each cloud provider directory:

Project folder structure

This is a simple NPM workspaces project. There are workspaces for all the cloud providers which contain serverless configs as well as the main common folder where 95% of all the source code lives.

  • workspaces/aws AWS IAC and provider specific code
  • workspaces/common common typescript functions, most of the code lives here

Adding a Connector

Adding a new connector is easy. Follow the steps outlined in the common readme

Unit and Integration tests

npm run test

If you want to enable integration testing of OpenAI connectors in your local environment set the following env variables:

export CFI_OPENAI_API_KEY=<your api key>
export CFI_OPENAI_INTEGRATION_TESTS=true # any value will work

This will enable the tests in workspaces/common/actions/api/openAI/tests/openai-integration-tests.spec.ts. You can extend or use these tests as a template for your openAI actions