This node module contains utilities to interact with WiiConnect24 Wii numbers
Install the module with the npm install
command
npm install nwc24js
var nwc24 = require('nwc24js')
const number = BigInt(1234567891234567)
console.log(unscrambleId(number))
var nwc24 = require('nwc24js')
const number = BigInt(1234567891234567)
console.log(loadWiiNumber(number)
var nwc24 = require('nwc24js')
const number = "1234-5678-9123-4567"
const isTrue = isValidWiiNumber(number)
unscrambleId
and loadWiiNumber
requires a BigInt
argument, while the isValidWiiNumber
function requires a formatted string like this 0000-0000-0000-0000
.