0.0.4 • Published 4 years ago

user-verify v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

user-verify

user-verify is an NPM Package for verifying users account ownership on multiple websites by checking their status with a phrase.

const uver = require('user-verify')


//Generates a phrase using random words 
//Paramater: Word Count | Defualt: 7
uver.genPhrase(6)


//Checks if phrase matches status on specific site
//Parameter: Method | One of the specified sites below
//Parameter: Indentifier | The specific identifier for the chosen method (See Documentation)
//Parameter: Phrase | The phrase to check the status with
uver.check('method','identifier','phrase')

//Example:
var phrase = uver.genPhrase()

console.log(`Change your status to "${phrase}"`)

setTimeout(function() {
  uver.check('roblox','1',phrase).then(matches=>console.log(matches))
  //Returns false if roblox user with id 1's status isn't equal to phrase
  //Returns true if it is equal to phrase
}, 15000);

Please note it is asynchronous

Currently Supported Sites:

  • Roblox
  • Fandom
  • Glitch
  • Github

    Identifiers:

  • Roblox - UserID

  • Fandom - Username
  • Glitch - Username (e.g. @userterminal) (Don't include the @)
  • Github - Username

Identifiers may be Case-Sensitive

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago