win-key
Retrieve your Windows Product Key using Node.js.
Installation
npm install win-key [-g]
Quickstart
CLI:
$ win-keyF4K3-K3Y-D0NT-U5E-L0L
API:
const winKey = // => F4K3-K3Y-D0NT-U5E-L0L
API
require('win-key')()
- returns a
<Promise>
which:- resolves with key =>
<String>
: the Windows Product Key - rejects with err =>
<Error>
if something went wrong
- resolves with key =>
Credits
- This module is just a simple Node.js interface to the more amazing and complex ProduKey by Nir Sofer
License
WTFPL – Do What the F*ck You Want to Public License.
Made with ❤️ by @MarkTiedemann.