ai-agent

Bigint Buffer

Bigint-buffer: Buffer Utilities for TC39 BigInt Proposal
54 stars19 forksTypeScriptUpdated 1/4/2023100% free · open source
What it does

bigint-buffer provides utility functions for working with the TC39 BigInt proposal in Node.js, specifically for reading and writing big integers to buffers.

When to use it
  • When you need to store or transmit large integers that exceed the limit of JavaScript's number type
  • When working with cryptographic applications that require precise control over integer encoding
  • When optimizing storage or transmission of numeric data in your application
Ready-to-paste prompt
Write a big integer to a buffer and read it back: `const buffer = Buffer.alloc(8); writeBigInt64BE(buffer, 12345678901234567890n, 0); const bigInt = readBigInt64BE(buffer, 0); console.log(bigInt);`
Heads up: Note that Node.js versions prior to 10.4 do not support the BigInt type, so you must use a compatible version of Node.js to use this library
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/bigint-buffer && curl -fsSL https://workflowstacks.com/api/skills/bigint-buffer/claude-skill -o ~/.claude/skills/bigint-buffer/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Bigint Buffer works
Codeflow
Free to inspect

Bigint Buffer is a small TypeScript project (~700 lines across 7 code files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 45 months ago, Apache-2.0 license, has a test suite.

Size
Small codebase
~700 lines · 7 code files · 6 min skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Node.js
No API keys detected
TypeScript 69%C 24%JavaScript 7%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    src/index.ts
    Where the program starts running
  3. 3
    package.json
    Dependencies and the commands it exposes
What's in each folder
src/Core code — the actual logic4 files
helper/Folder1 files
READMEHas testsThin docsCI checksApache-2.0 licenseLast update 45 mo ago
Quick Actions
Details
Creator
no2chem
Language
TypeScript
Category
ai-agent
Published
9/12/2018

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.