Skip to content

WiiLink24/nwc24js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nwc24js

This node module contains utilities to interact with WiiConnect24 Wii numbers

Installation

Install the module with the npm install command

npm install nwc24js

Usage

Unscramble a Wii Number

var nwc24 = require('nwc24js')

const number = BigInt(1234567891234567)
console.log(unscrambleId(number))

Load a Wii Number

var nwc24 = require('nwc24js')

const number = BigInt(1234567891234567)
console.log(loadWiiNumber(number)

Check if a Wii Number is valid

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.

Credits

Thanks to Sketch for his work on the nwc24 Go package

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published