win-key

0.1.0 • Public • Published

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

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.

Package Sidebar

Install

npm i win-key

Weekly Downloads

3

Version

0.1.0

License

none

Last publish

Collaborators

  • marktiedemann