1.0.7 • Published 3 years ago
accreate v1.0.7
Accreate Beta
Accreate is an account creator/manager that's really easy to use. To use Accreate, simply fork the repl on repl.it or download the zip in the GitHub, then follow this simple tutorial below.
How to use
Installing with NPM is easy. Use const acc = require("accreate")
To create an account, use acc.create()
.
Attributes:
acc
- account namepass
- password
Return values:
null
- means it worked"ERR"
- failed- nothing - internal error
To edit/manage an account, use acc.request()
.
Attributes:
acc
- account namepass
- password
Objects/functions:
changePass
- changes password. (Attributes: x = new password)pfp
- returns profile picturedel
- deletes account
Coin Management (optional coin money):
input
- adds coins to your accountcoins
- returns coins amountwithdraw
- decreases coins amount
Followers (optional):
followControl
- controls followers. (Objects/functions: add (Attributes: user), sum, remove (Attributes: user))
File storage (optional):
file
- gets a file. (attributes: command = GET, EDIT, CREATE, filename, data (use data only when needed))
Return values:
null
- means it worked- nothing - internal error
- other - probably worked.
Getting user data without functions
Accreate uses repl.it's database for Node.JS. So, to get user data use:
db.get(<accountname> + "-data-" + <datatype>).then(value => {});
If that doesn't work, use Node.JS to install the database.
Conclusion
I have worked very hard on creating this. Please star this project on GitHub and if there are any errors/something isn't working please create an issue on the GitHub. Thanks and I hope you use it!