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

@anvoio/node-core-abi

v1.0.0

Published

Node bindings for core-abi: binary <> JSON conversion using ABIs. Native Anvo Core (core_net) support with full Antelope/EOSIO compatibility.

Readme

node-core-abi

MIT licensed

Node.js N-API native binding for core-abi. Binary ↔ JSON conversion of ABI-encoded data for Anvo Core, Antelope, and EOSIO chains.

Based on eosrio/node-abieos with first-class support for the core_net::abi/* version prefix emitted by chains bootstrapped under the Anvo Core core_net namespace.

Features

  • Native Anvo Core support — accepts core_net::abi/{1,2}.x ABI version prefixes alongside eosio::abi/{1,2}.x.
  • Singleton binding — single global N-API context shared across the process.
  • Loaded-contract map — internal tracking with getLoadedAbis() and cleanup().
  • Cross-runtime — Node.js, Deno, and Bun.
  • TypeScript typings included.

Install

npm i @anvoio/node-core-abi --save

Usage

Node.js (ES Modules)

import { CoreAbi } from '@anvoio/node-core-abi';

const coreAbi = CoreAbi.getInstance();
coreAbi.loadAbi('eosio.token', tokenAbiJson);
const hex = coreAbi.jsonToHex('eosio.token', 'transfer', JSON.stringify({
    from: 'alice',
    to: 'bob',
    quantity: '1.0000 SYS',
    memo: ''
}));

Node.js (CommonJS)

const { CoreAbi } = require('@anvoio/node-core-abi');

Deno

# examples/basic.cjs can be run with:
deno run --allow-ffi --allow-read examples/basic.cjs

# For an example using the published npm package with Deno:
cd examples/deno-core-abi-test
deno run --allow-ffi --allow-read main.ts

Bun

bun run examples/basic.mjs

See the examples/ folder for more.

Build from Source

Requires Clang 18+:

wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18

Clone and build:

git clone https://github.com/AnvoIO/node-core-abi.git --recursive
cd node-core-abi
npm install
npm run build:linux   # cmake-js compile + copy native module
npm run build         # tsup (TypeScript bundling)

ABI Version Compatibility

| Version prefix | Accepted on ingest | |---|---| | eosio::abi/1.0 through eosio::abi/2.x | yes | | core_net::abi/1.0 through core_net::abi/2.x | yes |

Anvo Core emits the version prefix that matches the chain's heritage: eosio-bootstrapped chains emit eosio::abi/*; chains bootstrapped fresh under core_net emit core_net::abi/*. See AnvoIO/core#105 for context.

Supported Platforms

| Platform | Architecture | Status | |---|---|---| | Linux (Ubuntu 22.04+) | x86_64, ARM64 | Primary — CI tested | | macOS | x86_64, ARM64 | Best-effort | | Windows | x86_64 | Best-effort |

Prebuilt binaries may not be available for all platforms; build from source if needed.

Migration from @eosrio/node-abieos

Downstream consumers migrating from @eosrio/node-abieos need the following changes:

  • Package name: @eosrio/node-abieos@anvoio/node-core-abi
  • Class name: AbieosCoreAbi
  • Log tag: [node-abieos][node-core-abi]
  • Native binding file: abieos.nodecore-abi.node (internal; transparent to JS consumers)

The runtime API surface is otherwise unchanged. Existing code calling Abieos.getInstance().loadAbi(...) becomes CoreAbi.getInstance().loadAbi(...).

License

MIT. See NOTICE for upstream attributions.

Contributing

See CONTRIBUTING.md.