1.0.4 • Published 4 years ago
simple-account v1.0.4
Simple Account
connect db
var SimpleAccount = require('simple-account')
var SimpleAccount = new SimpleAccount(dbname)
automatic create db and table (use sqlite)
example
var SimpleAccount = require('simple-account')
var SimpleAccount = new SimpleAccount('myaccount')
automatic create db and table (use sqlite)
add account
SimpleAccount.createAccount(id, pw)
login
SimpleAccount.login(id, pw)