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

@pixelgeniusid/vexjs

v23.0.1

Published

JavaScript API to interact with the Vexanium blockchain (adapted from Mandel-EOSJS)

Readme

@pixelgeniusid/vexjs

npm version
npm downloads

⚠ This is a modified fork of mandel-eosjs

Adapted by pixelGeniusid for the Vexanium blockchain.


Installation

NPM

@pixelgeniusid/vexjs is an adaptation of mandel-eosjs to work seamlessly with Vexanium nodes and features.

npm install @pixelgeniusid/vexjs

NodeJS Dependency

npm install @pixelgeniusid/vexjs

Using with Typescript

If you're using Node (not a browser), make sure the dom lib is referenced in your tsconfig.json:

{
  "compilerOptions": {
    "lib": [..., "dom"]
  }
}

Browser Distribution

Clone this repository locally, then run:

npm run build-web

The browser distribution will be located in dist-web and can be directly copied into your project repository.
The dist-web folder contains minified bundles ready for production, along with source-mapped versions for debugging.


Getting Started

Example usage of @pixelgeniusid/vexjs:

npm init es6
npm install @pixelgeniusid/vexjs
node node_test

node_test.js

import { Api, JsonRpc, RpcError } from '@pixelgeniusid/vexjs';
import fetch from 'node-fetch'

const rpc = new JsonRpc('https://testnet.vexanium.com', { fetch });
const api = new Api({ rpc, textDecoder: new TextDecoder(), textEncoder: new TextEncoder() });

const info = await rpc.get_info();
console.log(info);

Import

ES Modules

import { Api, JsonRpc, RpcError } from '@pixelgeniusid/vexjs';
import { JsSignatureProvider } from '@pixelgeniusid/vexjs/dist/vexjs-jssig'; // dev only

CommonJS

const { Api, JsonRpc, RpcError } = require('@pixelgeniusid/vexjs');
const fetch = require('node-fetch');

Basic Usage

Signature Provider

const defaultPrivateKey = "YOUR_PRIVATE_KEY";
const signatureProvider = new JsSignatureProvider([defaultPrivateKey]);

JSON-RPC

const rpc = new JsonRpc('https://testnet.vexanium.com', { fetch });

API

const api = new Api({ rpc, signatureProvider, textDecoder: new TextDecoder(), textEncoder: new TextEncoder() });

Sending a transaction

(async () => {
  const result = await api.transact({
    actions: [{
      account: 'vex.token',
      name: 'transfer',
      authorization: [{
        actor: 'youraccount',
        permission: 'active',
      }],
      data: {
        from: 'youraccount',
        to: 'targetaccount',
        quantity: '1.0000 VEX',
        memo: 'Test transfer',
      },
    }]
  }, {
    blocksBehind: 3,
    expireSeconds: 30
  });
  console.dir(result);
})();

License

This project is released under the MIT License.
See LICENSE for details.

Original work:

Modifications for Vexanium blockchain:

  • © 2025 pixelGeniusid