{"_id":"@cheatron/native-mock-koffi","name":"@cheatron/native-mock-koffi","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cheatron/native-mock-koffi","version":"1.0.0","description":"Pure JavaScript mock implementation of koffi for testing native modules without compilation","main":"./dist/index.js","types":"./dist/index.d.ts","type":"module","license":"MIT","keywords":["cheatron","mock","koffi","native","windows","testing","typescript"],"author":{"name":"Cheatron"},"homepage":"https://github.com/Cheatron/cheatron-native-mock-koffi#readme","repository":{"type":"git","url":"git+https://github.com/Cheatron/cheatron-native-mock-koffi.git"},"bugs":{"url":"https://github.com/Cheatron/cheatron-native-mock-koffi/issues"},"scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"typescript":"^5","@types/bun":"latest"},"gitHead":"3b1aa59769aae4509ca28fe24b1da42446828442","_id":"@cheatron/native-mock-koffi@1.0.0","_nodeVersion":"24.3.0","_npmVersion":"11.10.0","dist":{"integrity":"sha512-i37C6MIf/eLGFJQhBZV2c0VLIgB8ilfkK4pH2qvtHaKmJY1XcsYB4BjIp+Z500TZGYOooUqtP8592iiKk35uiA==","shasum":"80990d9b255e08d0f7c918a7a0cc98b9bb5df6f4","tarball":"https://registry.npmjs.org/@cheatron/native-mock-koffi/-/native-mock-koffi-1.0.0.tgz","fileCount":6,"unpackedSize":6960,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD+P4pKyYf5vq+GrjluIT9mhaWxsobhjFBiYpXyV2YZ1QIhANDZq8c25bg0my7CtdI2gQDCUsMyiIkj6bdItwBLwC2O"}]},"_npmUser":{"name":"woldan","email":"serkanaksy@proton.me"},"directories":{},"maintainers":[{"name":"woldan","email":"serkanaksy@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/native-mock-koffi_1.0.0_1771342067989_0.38725476554334803"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-17T15:27:47.892Z","1.0.0":"2026-02-17T15:27:48.138Z","modified":"2026-02-17T15:27:48.321Z"},"maintainers":[{"name":"woldan","email":"serkanaksy@proton.me"}],"description":"Pure JavaScript mock implementation of koffi for testing native modules without compilation","homepage":"https://github.com/Cheatron/cheatron-native-mock-koffi#readme","keywords":["cheatron","mock","koffi","native","windows","testing","typescript"],"repository":{"type":"git","url":"git+https://github.com/Cheatron/cheatron-native-mock-koffi.git"},"author":{"name":"Cheatron"},"bugs":{"url":"https://github.com/Cheatron/cheatron-native-mock-koffi/issues"},"license":"MIT","readme":"# @cheatron/native-mock-koffi\n\nPure JavaScript mock of [Koffi](https://koffi.dev/) for testing native modules without native dependencies.\n\n## Installation\n\n```bash\nbun add @cheatron/native-mock-koffi\n```\n\n## Usage\n\n```typescript\nimport MockKoffi from \"@cheatron/native-mock-koffi\";\n\nconst buffer = MockKoffi.alloc(\"uint32\");\nconst address = MockKoffi.address(buffer);\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-3eecb15629f5f83fbc2529a4a178046e"}