win-key
v0.1.0
Published
Retrieve your Windows Product Key using Node.js.
Downloads
8
Maintainers
Readme
win-key
Retrieve your Windows Product Key using Node.js.
Installation
npm install win-key [-g]
Quickstart
CLI:
$ win-key
F4K3-K3Y-D0NT-U5E-L0L
API:
const winKey = require('win-key')
winKey()
.then(console.log)
// => 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 :heart: by @MarkTiedemann.