Work in progress. Zig stuff for Node.js
- Install Zig 0.8.1
npm installnpm test
Source code entry point is at src/lib.zig.
Implement encodingLengthImplement encodeImplement decodeImplement allocAndEncodeImplement sliceImplement seekKey- Implement seekPath
- Implement iterate
- Implement compareString
- Implement compare
- Implement createCompareAt
- Implement getValueType
- Implement getEncodedLength
- Implement getEncodedType
- Implement createSeekPath
- Pass all tests
- Compile for several targets and publish them under
dist/,index.jsshould know how to pick the correct binary - Use a Zig package manager, maybe
- Publish
varint.zigas a separate Zig module