@codevendor/tableset
v0.0.1
Published
High-performance Node.js addon in C for creating simple in-memory mmap-backed table databases.
Maintainers
Readme
Tableset
High-performance Node.js addon in C for creating simple in-memory mmap-backed table databases.
Installation
npm install tablesetUsage
CommonJS
const tableset = require('tableset');
// Initialize a table with size 1024
const db = tableset.initTable(1024);
console.log('Table initialized:', db);ESM
import tableset from 'tableset';
// Initialize a table with size 1024
const db = await tableset.initTable(1024);
console.log('Table initialized:', db);API
initTable(size)– initializes a table with the given size (stub in this version, returns the size for demonstration).
Contributing
Feel free to open issues or pull requests on GitHub.
License
MIT © 2026 Adam Smith (CodeVendor)
Notes
- This addon uses
node-gypto compile the C source. - Make sure you have a C compiler and Python installed.
- The addon is mmap-backed for high-performance in-memory tables.
