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

@getarco/sdk

v0.1.0

Published

Arco Link SDK — open banking connectivity for the Caribbean

Readme

@getarco/sdk

JavaScript/TypeScript SDK for Arco — open banking infrastructure for the Caribbean.

Installation

npm install @getarco/sdk

Usage

Arco Link is the consent modal that handles bank authentication. Your backend obtains a link_token, your frontend opens the modal, and on success you receive a public_token to exchange server-side for a permanent access_token.

1. Get a link token (server-side)

POST /v1/link/token/create
X-Api-Key: <your-client-id>

{ "clientId": "your-client-id", "userReference": "your-internal-user-id" }

2. Open the modal (client-side)

import { ArcoLink } from '@getarco/sdk'

const link = new ArcoLink({
  linkToken: 'lt_abc123...',              // from your backend
  apiBaseUrl: 'https://api.arco.finance',
  linkUrl: 'https://link.arco.finance',
  onSuccess: (publicToken) => {
    // Send publicToken to your backend to exchange for an access_token
  },
  onExit: () => {
    // User closed the modal without connecting
  }
})

link.open()

3. Exchange the public token (server-side)

POST /v1/link/token/exchange

{ "linkTokenId": "...", "authCode": "...", "institutionId": "..." }

Returns an accessToken (JWT). Store it — use it as a Bearer token for all data requests.

4. Fetch data

GET /v1/accounts
Authorization: Bearer <access_token>

GET /v1/transactions?accountId=<id>&limit=50
Authorization: Bearer <access_token>

Config Reference

| Field | Type | Description | |---|---|---| | linkToken | string | Short-lived token from POST /v1/link/token/create | | apiBaseUrl | string | Arco API base URL | | linkUrl | string | Arco Link UI URL | | onSuccess | (publicToken: string) => void | Called when user successfully connects their bank | | onExit | () => void | Optional. Called when user closes without connecting |

Local Development

const link = new ArcoLink({
  linkToken: 'lt_...',
  apiBaseUrl: 'http://localhost:5203',
  linkUrl: 'http://localhost:3001',
  onSuccess: (token) => console.log('Got token:', token),
})

Versioning

Follows semantic versioning. Versioned and released independently from all other Arco repos. Changelog maintained in CHANGELOG.md.

Local Development (SDK)

npm install
npm run build       # compile to dist/
npm run dev         # watch mode
npm link            # link locally for integration testing