xxoo/node-fswin — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Windows focused Node.js native addon called fswin that gives JavaScript simple access to Windows specific file system features that normal Node fs doesn’t expose.

It should install like a normal npm package and load a compiled native module from JavaScript. Include TypeScript definitions so people can see and use the exported functions from their editor. Set it up so it can be built with node gyp on Windows using Visual Studio and Python, and keep support for Node.js through N API. It should also be usable from Electron and NW.js builds.

Please make the public API clean and easy to call from JavaScript, with a small test script showing the addon works. Add a README that explains what the package is, how to install it with npm, and how to build it from source on Windows. Look up current node gyp and N API docs online if needed.

Want more depth? Deep Reverse