1.0.3 • Published 4 years ago

codys-user-system v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

###Easy to use User system. Example:

const US = require('codys-user-system')
const json = {
    "name": "Cody4687",
    "kills": 10
}
US.newUser(json.name, json)

const user = US.getUser('Cody4687')

console.log('Name: '+user.name+'\nKills: '+user.kills)

Methods

const US = require('codys-user-system')

US.newUser(name, json) //Create the json file.
US.getUser(name) //Load the json file.
US.deleteUser(name) //Delete a user.

This is all saved locally in ./users

1.0.3

4 years ago

1.0.1

4 years ago