{"_id":"@bun-win32/ntdll","_rev":"11-88aed302f7a78ad1ed05877735985e19","name":"@bun-win32/ntdll","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"@bun-win32/ntdll","version":"1.0.0","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"author":"Stev Peifer <stev@bell.net>","license":"MIT","_id":"@bun-win32/ntdll@1.0.0","maintainers":[{"name":"obscuritysrl","email":"stev@bell.net"}],"homepage":"https://github.com/bun-win32/ntdll#readme","bugs":{"url":"https://github.com/bun-win32/ntdll/issues"},"dist":{"shasum":"b70980e5685b48bd10775454a29473cbaaccd207","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-1.0.0.tgz","fileCount":6,"integrity":"sha512-U1FmR8YBIgpj3JQ3HBh3FQxKVnF0b1IBlqAl36hx1S8LUMyWKZeZOd9iEaFecgLrU3Vw1spUS0XNGZHEieCiiw==","signatures":[{"sig":"MEYCIQDx1Yda8P4Cbq90cnnCdmluMWsd4W479B/N3NucU13tDwIhALuPXFF3wyL12gSreAygh6ebKLJW5VC9Q4haCIvIQxMQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":169051},"main":"./index.ts","type":"module","module":"index.ts","shasum":"b70980e5685b48bd10775454a29473cbaaccd207","engines":{"bun":">=1.1.0"},"exports":{".":"./index.ts"},"private":false,"scripts":{"example":"bun ./example/ntdll.ts"},"_npmUser":{"name":"obscuritysrl","email":"stev@bell.net"},"_integrity":"sha512-U1FmR8YBIgpj3JQ3HBh3FQxKVnF0b1IBlqAl36hx1S8LUMyWKZeZOd9iEaFecgLrU3Vw1spUS0XNGZHEieCiiw==","repository":{"url":"git://github.com/bun-win32/ntdll.git","type":"git"},"_npmVersion":"10.8.3","description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ntdll_1.0.0_1775362779991_0.6608444577728332","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bun-win32/ntdll","version":"1.0.2","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"author":"Stev Peifer <stev@bell.net>","license":"MIT","_id":"@bun-win32/ntdll@1.0.2","maintainers":[{"name":"obscuritysrl","email":"stev@bell.net"}],"homepage":"https://github.com/ObscuritySRL/bun-win32#readme","bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"dist":{"shasum":"9e342d35a4102eba16741119422f9621a9a941dc","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-1.0.2.tgz","fileCount":5,"integrity":"sha512-MC3GJOqh4C8taOV4erN4MobKTVlyds6/OWRRy/C/90Rl2xwZrnCF6leZhDxqYo0B3iElewrnL00QOoMY7MtRMw==","signatures":[{"sig":"MEUCIHOhlglbvdAPZzCK1/upKmoPg2+ghYqMBFmtf7aHbKiaAiEA/vZcuG2EA/ns3D+e0L+7h/+Z0hdXig3e0gtznpZaW6A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160851},"main":"./index.ts","type":"module","module":"index.ts","shasum":"9e342d35a4102eba16741119422f9621a9a941dc","engines":{"bun":">=1.1.0"},"exports":{".":"./index.ts"},"private":false,"scripts":{"example":"bun ./example/ntdll.ts"},"_npmUser":{"name":"obscuritysrl","email":"stev@bell.net"},"_integrity":"sha512-MC3GJOqh4C8taOV4erN4MobKTVlyds6/OWRRy/C/90Rl2xwZrnCF6leZhDxqYo0B3iElewrnL00QOoMY7MtRMw==","repository":{"url":"git://github.com/ObscuritySRL/bun-win32.git","type":"git","directory":"packages/ntdll"},"_npmVersion":"10.8.3","description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bun-win32/core":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ntdll_1.0.2_1775407789341_0.1204192475866932","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@bun-win32/ntdll","version":"1.0.3","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"author":"Stev Peifer <stev@bell.net>","license":"MIT","_id":"@bun-win32/ntdll@1.0.3","maintainers":[{"name":"obscuritysrl","email":"stev@bell.net"}],"homepage":"https://github.com/ObscuritySRL/bun-win32#readme","bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"dist":{"shasum":"a1bab827276f7bbdbc1b5897f3f8c4b914f93a0a","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-1.0.3.tgz","fileCount":6,"integrity":"sha512-BqVQA3VR0C0e6/kNvLVzl0b8xV3pVbAwXqucSrgZqGxiLzU4RfR7vuDhxb94Wms6Uc191/R2koxoDdqH9pY2tw==","signatures":[{"sig":"MEUCIQCY0wCplSBXFkbh9ihFOqroYeeJQIvJm5NwLY39F+acgAIgdkiNpt2rgC561bHsS/Cllq/eKBd0GxR46bm7wcxcx18=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162473},"main":"./index.ts","type":"module","module":"index.ts","shasum":"a1bab827276f7bbdbc1b5897f3f8c4b914f93a0a","engines":{"bun":">=1.1.0"},"exports":{".":"./index.ts"},"private":false,"scripts":{"example":"bun ./example/ntdll.ts"},"_npmUser":{"name":"obscuritysrl","email":"stev@bell.net"},"_integrity":"sha512-BqVQA3VR0C0e6/kNvLVzl0b8xV3pVbAwXqucSrgZqGxiLzU4RfR7vuDhxb94Wms6Uc191/R2koxoDdqH9pY2tw==","repository":{"url":"git://github.com/ObscuritySRL/bun-win32.git","type":"git","directory":"packages/ntdll"},"_npmVersion":"10.8.3","description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bun-win32/core":"1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ntdll_1.0.3_1775514759594_0.6296808661668347","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@bun-win32/ntdll","version":"1.0.4","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"author":{"name":"Stev Peifer","email":"stev@bell.net"},"license":"MIT","_id":"@bun-win32/ntdll@1.0.4","maintainers":[{"name":"obscuritysrl","email":"stev@bell.net"}],"homepage":"https://github.com/ObscuritySRL/bun-win32#readme","bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"dist":{"shasum":"752173e109e2c4216f225e2bb1df2a1832ceded0","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-1.0.4.tgz","fileCount":6,"integrity":"sha512-VuM9C3+ZFO6U8t9o0Mud26ODe40b7ViJSQyAROphzNOG5efOGAGoJ8nq5Ai2S/NPztxYZlmXqFenzc3KfLACjQ==","signatures":[{"sig":"MEYCIQCM/8w63eif4/3KxM+qYPNqgVQPdnJsfaBlOckh3rA8UQIhANxozddB5aM3gC099gRVqOGsmt1uBA7K5L/UnAWyoRUB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162818},"main":"./index.ts","type":"module","module":"index.ts","engines":{"bun":">=1.1.0"},"exports":{".":"./index.ts"},"gitHead":"f86f0df557aa6cfee8907bf3af5592855a854c15","private":false,"scripts":{"example":"bun ./example/ntdll.ts"},"_npmUser":{"name":"obscuritysrl","email":"stev@bell.net"},"repository":{"url":"git://github.com/ObscuritySRL/bun-win32.git","type":"git","directory":"packages/ntdll"},"_npmVersion":"10.1.0","description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","directories":{},"sideEffects":false,"_nodeVersion":"20.8.0","dependencies":{"@bun-win32/core":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ntdll_1.0.4_1775584502608_0.1518479423161514","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@bun-win32/ntdll","version":"1.0.5","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"author":"Stev Peifer <stev@bell.net>","license":"MIT","_id":"@bun-win32/ntdll@1.0.5","maintainers":[{"name":"obscuritysrl","email":"stev@bell.net"}],"homepage":"https://github.com/ObscuritySRL/bun-win32#readme","bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"dist":{"shasum":"d9e21684de59c3b9ffe17cbc0f975ee882b0e53d","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-1.0.5.tgz","fileCount":6,"integrity":"sha512-1EmLA10T9r4eRSByfMDa22j2/GLpPV11rna/lM7u9au7CUPTY0CW2DFmltgpVGGwd6a5/FH+TdQIDrniuy9C0Q==","signatures":[{"sig":"MEUCIQCgn24g6dUmUWStc6jsDuInf2FZ6RmmQUg4J/ZriQdWJgIgZZlZ4UMObDLyWy1gqW4L03kz41iL7QU6O24QiKKzE9k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162860},"main":"./index.ts","type":"module","module":"index.ts","shasum":"d9e21684de59c3b9ffe17cbc0f975ee882b0e53d","engines":{"bun":">=1.1.0"},"exports":{".":"./index.ts"},"private":false,"scripts":{"example":"bun ./example/ntdll.ts"},"_npmUser":{"name":"obscuritysrl","email":"stev@bell.net"},"_integrity":"sha512-1EmLA10T9r4eRSByfMDa22j2/GLpPV11rna/lM7u9au7CUPTY0CW2DFmltgpVGGwd6a5/FH+TdQIDrniuy9C0Q==","repository":{"url":"git://github.com/ObscuritySRL/bun-win32.git","type":"git","directory":"packages/ntdll"},"_npmVersion":"10.8.3","description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bun-win32/core":"1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ntdll_1.0.5_1775616189947_0.15062037335860268","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@bun-win32/ntdll","version":"1.0.6","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"author":"Stev Peifer <stev@bell.net>","license":"MIT","_id":"@bun-win32/ntdll@1.0.6","maintainers":[{"name":"obscuritysrl","email":"stev@bell.net"}],"homepage":"https://github.com/ObscuritySRL/bun-win32#readme","bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"dist":{"shasum":"93ced67d3045685036820b7327bf495d8b8f7721","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-1.0.6.tgz","fileCount":6,"integrity":"sha512-d/gM/Ku4HrBfsm6rhO+rppyNmEm848ArhpqaObiTs4NO0lu8JkQwCMcU0mkGUAv4/RKbUi0w4D+6qoN4kucZIw==","signatures":[{"sig":"MEQCIH7U1MVXixeaf1+6MnfwCMuSNT/jP3PzHqR0RH3xaNxKAiBLPwHymcIeS0fCV8VjzhBcXYUyMlJtRBeIqpDqcw8P8w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":163004},"main":"./index.ts","type":"module","module":"index.ts","shasum":"93ced67d3045685036820b7327bf495d8b8f7721","engines":{"bun":">=1.1.0"},"exports":{".":"./index.ts"},"private":false,"scripts":{"example:timing-showdown":"bun ./example/timing-showdown.ts","example:system-internals":"bun ./example/system-internals.ts"},"_npmUser":{"name":"obscuritysrl","email":"stev@bell.net"},"_integrity":"sha512-d/gM/Ku4HrBfsm6rhO+rppyNmEm848ArhpqaObiTs4NO0lu8JkQwCMcU0mkGUAv4/RKbUi0w4D+6qoN4kucZIw==","repository":{"url":"git://github.com/ObscuritySRL/bun-win32.git","type":"git","directory":"packages/ntdll"},"_npmVersion":"10.8.3","description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bun-win32/core":"1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","@bun-win32/kernel32":"1.0.20"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ntdll_1.0.6_1775687612269_0.6390618685229759","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@bun-win32/ntdll","version":"1.0.7","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"author":"Stev Peifer <stev@bell.net>","license":"MIT","_id":"@bun-win32/ntdll@1.0.7","maintainers":[{"name":"obscuritysrl","email":"stev@bell.net"}],"homepage":"https://github.com/ObscuritySRL/bun-win32#readme","bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"dist":{"shasum":"0ee830194f42a70401b17bdddecf83ee729d9c4d","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-1.0.7.tgz","fileCount":6,"integrity":"sha512-XgVU3rBZhuFgfqjSetLoyzp8QsxXjD0HkkZwMPE+7s08hCqHAwMSJn5X0z6pgHfa4WeJcMhVUHD03Xnf7l6esQ==","signatures":[{"sig":"MEUCIDc2xr/JRXsldQEdYOkgtI/oOe8pkFanQPlDUbeFTADeAiEAsn3P878ME0D419uFmx0TgOx4gFku5Y61rqX6eRhIC2w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":163018},"main":"./index.ts","type":"module","module":"index.ts","shasum":"0ee830194f42a70401b17bdddecf83ee729d9c4d","engines":{"bun":">=1.1.0"},"exports":{".":"./index.ts"},"private":false,"scripts":{"example:timing-showdown":"bun ./example/timing-showdown.ts","example:system-internals":"bun ./example/system-internals.ts"},"_npmUser":{"name":"obscuritysrl","email":"stev@bell.net"},"_integrity":"sha512-XgVU3rBZhuFgfqjSetLoyzp8QsxXjD0HkkZwMPE+7s08hCqHAwMSJn5X0z6pgHfa4WeJcMhVUHD03Xnf7l6esQ==","repository":{"url":"git://github.com/ObscuritySRL/bun-win32.git","type":"git","directory":"packages/ntdll"},"_npmVersion":"10.8.3","description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bun-win32/core":"1.1.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","@bun-win32/kernel32":"1.0.25"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ntdll_1.0.7_1780581914937_0.6426064340942472","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@bun-win32/ntdll","version":"2.0.0","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"author":"Stev Peifer <stev.p@outlook.com>","license":"MIT","_id":"@bun-win32/ntdll@2.0.0","maintainers":[{"name":"obscuritysrl","email":"stev.p@outlook.com"}],"homepage":"https://github.com/ObscuritySRL/bun-win32#readme","bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"dist":{"shasum":"1bd1e7e152397b4b3fd5aeccb3046f7a7f524850","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-2.0.0.tgz","fileCount":6,"integrity":"sha512-ecODAWjW7SGmzepEf8h7icO6BmXkGCyGotRK55sbY7eWNtxvD4DETkYYcPAL31kCiV7TfEI1/pXCc22h+qs5Dw==","signatures":[{"sig":"MEYCIQCLuoebQQza1TYsbk+gQhielovboPgm31JKl6fv5BeUHQIhAOAUdzPv0k6UcZ1jW4y6+wRldL+Izq/uJllJCZg+VIr9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167849},"main":"./index.ts","type":"module","module":"index.ts","shasum":"1bd1e7e152397b4b3fd5aeccb3046f7a7f524850","engines":{"bun":">=1.1.0"},"exports":{".":"./index.ts"},"private":false,"scripts":{"example:timing-showdown":"bun ./example/timing-showdown.ts","example:system-internals":"bun ./example/system-internals.ts"},"_npmUser":{"name":"obscuritysrl","email":"stev.p@outlook.com"},"_integrity":"sha512-ecODAWjW7SGmzepEf8h7icO6BmXkGCyGotRK55sbY7eWNtxvD4DETkYYcPAL31kCiV7TfEI1/pXCc22h+qs5Dw==","repository":{"url":"git://github.com/ObscuritySRL/bun-win32.git","type":"git","directory":"packages/ntdll"},"_npmVersion":"10.8.3","description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","directories":{},"sideEffects":false,"_nodeVersion":"26.3.0","dependencies":{"@bun-win32/core":"2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","@bun-win32/kernel32":"2.0.0"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ntdll_2.0.0_1782435481207_0.7619303893922156","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"author":"Stev Peifer <stev.p@outlook.com>","bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"dependencies":{"@bun-win32/core":"2.0.1"},"description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","devDependencies":{"@bun-win32/kernel32":"2.0.1","@types/bun":"latest"},"exports":{".":"./index.ts"},"license":"MIT","module":"index.ts","name":"@bun-win32/ntdll","peerDependencies":{"typescript":"^5"},"private":false,"homepage":"https://github.com/ObscuritySRL/bun-win32#readme","repository":{"type":"git","url":"git://github.com/ObscuritySRL/bun-win32.git","directory":"packages/ntdll"},"type":"module","version":"2.0.1","main":"./index.ts","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"sideEffects":false,"engines":{"bun":">=1.1.0"},"scripts":{"example:timing-showdown":"bun ./example/timing-showdown.ts","example:system-internals":"bun ./example/system-internals.ts"},"_id":"@bun-win32/ntdll@2.0.1","_integrity":"sha512-TVIo+Eu1K1hR3zsg+9e1T/IhRhiUqxoE6i8hapXZf78oUWSXxkVrWgZGYm6vyy4wJGH2JpPSMKujH8nq/L9taA==","_nodeVersion":"26.3.0","_npmVersion":"10.8.3","shasum":"97d1f1be152e2a6cc34938f57ab3056d5694e038","dist":{"integrity":"sha512-TVIo+Eu1K1hR3zsg+9e1T/IhRhiUqxoE6i8hapXZf78oUWSXxkVrWgZGYm6vyy4wJGH2JpPSMKujH8nq/L9taA==","shasum":"97d1f1be152e2a6cc34938f57ab3056d5694e038","tarball":"https://registry.npmjs.org/@bun-win32/ntdll/-/ntdll-2.0.1.tgz","fileCount":6,"unpackedSize":167849,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGKeRFirWfsbOC9ajPBqkStV4MSWF2zOYLKi91nQIg7iAiEAvHqXFQlyTRku3aHI+FPyBC1933cmOao6MgFs9JSmdu0="}]},"_npmUser":{"name":"obscuritysrl","email":"stev.p@outlook.com"},"directories":{},"maintainers":[{"name":"obscuritysrl","email":"stev.p@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ntdll_2.0.1_1782438141317_0.7149075440058819"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-05T04:19:39.913Z","modified":"2026-06-26T01:42:21.601Z","1.0.0":"2026-04-05T04:19:40.120Z","1.0.1":"2026-04-05T16:47:35.875Z","1.0.2":"2026-04-05T16:49:49.484Z","1.0.3":"2026-04-06T22:32:39.747Z","1.0.4":"2026-04-07T17:55:02.742Z","1.0.5":"2026-04-08T02:43:10.125Z","1.0.6":"2026-04-08T22:33:32.437Z","1.0.7":"2026-06-04T14:05:15.097Z","2.0.0":"2026-06-26T00:58:01.334Z","2.0.1":"2026-06-26T01:42:21.486Z"},"bugs":{"url":"https://github.com/ObscuritySRL/bun-win32/issues"},"author":"Stev Peifer <stev.p@outlook.com>","license":"MIT","homepage":"https://github.com/ObscuritySRL/bun-win32#readme","keywords":["bun","ffi","win32","windows","ntdll","bindings","typescript","dll"],"repository":{"type":"git","url":"git://github.com/ObscuritySRL/bun-win32.git","directory":"packages/ntdll"},"description":"Zero-dependency, zero-overhead Win32 NTDLL bindings for Bun (FFI) on Windows.","maintainers":[{"name":"obscuritysrl","email":"stev.p@outlook.com"}],"readme":"# @bun-win32/ntdll\r\n\r\nZero-dependency, zero-overhead Win32 NTDLL bindings for [Bun](https://bun.sh) on Windows.\r\n\r\n## Overview\r\n\r\n`@bun-win32/ntdll` exposes the `ntdll.dll` exports using [Bun](https://bun.sh)'s FFI. It provides a single class, `Ntdll`, which lazily binds native symbols on first use. You can optionally preload a subset or all symbols up-front via `Preload()`.\r\n\r\nThe bindings are strongly typed for a smooth DX in TypeScript.\r\n\r\n## Features\r\n\r\n- [Bun](https://bun.sh)-first ergonomics on Windows 10/11.\r\n- Direct FFI to `ntdll.dll` (native NT API, process/thread management, memory, registry, file I/O, synchronization, runtime library utilities, and more).\r\n- In-source docs in `structs/Ntdll.ts` with links to Microsoft Docs.\r\n- Lazy binding on first call; optional eager preload (`Ntdll.Preload()`).\r\n- No wrapper overhead; calls map 1:1 to native APIs.\r\n- Strongly-typed Win32 aliases (see `types/Ntdll.ts`).\r\n\r\n## Requirements\r\n\r\n- [Bun](https://bun.sh) runtime\r\n- Windows 10 or later\r\n\r\n## Installation\r\n\r\n```sh\r\nbun add @bun-win32/ntdll\r\n```\r\n\r\n## Quick Start\r\n\r\n```ts\r\nimport Ntdll, { STATUS_SUCCESS } from '@bun-win32/ntdll';\r\n\r\n// Optionally bind a subset up-front\r\nNtdll.Preload(['RtlGetVersion', 'NtQuerySystemTime']);\r\n\r\n// Query the OS version via RtlGetVersion\r\nconst versionInfo = Buffer.alloc(0x11C); // RTL_OSVERSIONINFOW\r\nversionInfo.writeUInt32LE(0x11C, 0);     // dwOSVersionInfoSize\r\n\r\nconst status = Ntdll.RtlGetVersion(versionInfo.ptr);\r\n\r\nif (status === STATUS_SUCCESS) {\r\n  const major = versionInfo.readUInt32LE(4);\r\n  const minor = versionInfo.readUInt32LE(8);\r\n  const build = versionInfo.readUInt32LE(12);\r\n  console.log('Windows %d.%d.%d', major, minor, build);\r\n}\r\n```\r\n\r\n> [!NOTE]\r\n> AI agents: see `AI.md` for the package binding contract and source-navigation guidance. It explains how to use the package without scanning the entire implementation.\r\n\r\n## Examples\r\n\r\nRun the included examples:\r\n\r\n```sh\r\nbun run example              # OS version + system time\r\n```\r\n\r\n## Notes\r\n\r\n- Either rely on lazy binding or call `Ntdll.Preload()`.\r\n- Windows only. Bun runtime required.\n- **SAL types & naming:** nullability is in the **type** — `Optional<T>` (formally optional, SAL `_*opt_`) and `Nullable<T>` (plain `[in]`/`[out]` the docs say can be NULL), the null sentinel derived from `T` (`null` for pointers `LP*`/`P*`, `0n` for handles/by-value addresses); direction is in the **parameter name** — `_out` (`_Out_`), `_in_out` (`_Inout_`), `_In_` bare. See `AI.md` and the repo `AGENTS.md`.\n","readmeFilename":"README.md"}