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

@bane-labs/bridge-sdk-ts

v1.0.1

Published

A library for interacting with the Neo Bridge from TypeScript projects.

Readme

bridge-sdk-ts

A TypeScript ESM library for interacting with the Neo Bridge and related smart contracts. Designed for use in both front-end and back-end TypeScript projects.

Features

  • ESM-compatible TypeScript library
  • Works in Node.js and modern browsers
  • Adapter for using neon-js (CJS) in ESM environments
  • Type-safe contract interaction utilities

Installation

To install from npm, run:

npm install @bane-labs/bridge-sdk-ts

Usage

The bridge SDK supports both EVM-compatible chains and the Neo blockchain. Import the appropriate classes and utilities for your target blockchain:

// For EVM chains
import { EvmMessageBridgeFactory } from '@bane-labs/bridge-sdk-ts';

// For Neo blockchain
import { MessageBridge, neonAdapter, InvalidParameterError } from '@bane-labs/bridge-sdk-ts';

EVM Examples

The EVM module provides factories for creating bridge contract instances that work with Ethereum and other EVM-compatible chains.

Creating an EVM Message Bridge

import { EvmMessageBridgeFactory } from '@bane-labs/bridge-sdk-ts';
import { createPublicClient, createWalletClient, http } from 'viem';
import { neoxMainnet } from 'viem/chains';

const publicClient = createPublicClient({
  chain: neoxMainnet,
  transport: http('https://mainnet-1.rpc.banelabs.org')
});

const walletClient = createWalletClient({
  chain: neoxMainnet,
  transport: http('https://mainnet-1.rpc.banelabs.org')
});

const config = {
  contractAddress: '0x...your_contract_address...',
  publicClient,
  walletClient
};

const messageBridge = EvmMessageBridgeFactory.create(config);

Neo Examples

The Neo module provides utilities for interacting with Neo blockchain contracts and the neonAdapter for ESM compatibility.

Creating a Neo Message Bridge

import { MessageBridge } from '@bane-labs/bridge-sdk-ts';

const config = {
  rpcUrl: 'https://mainnet1.neo.coz.io:443',
  contractHash: '0x...your_contract_hash...',
  account: { /* your account object */ }
};

const bridge = new MessageBridge(config);

Using neonAdapter

neonAdapter is a utility object that provides a clean, ESM-compatible interface to the core features of the neon-js library. It normalizes exports and provides type-safe helpers for working with Neo accounts, contract parameters, transactions, and more. Use it to create and validate Neo blockchain objects in both browser and Node.js environments.

import { neonAdapter } from '@bane-labs/bridge-sdk-ts';

const account = neonAdapter.create.account('your-private-key');
const param = neonAdapter.create.contractParam('String', 'hello');

Publishing & Versioning

  • Pre-release versions are published with the beta tag.
  • For production, use the latest stable version.