🎉 This is now on NPM! 🎉
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.
Installation is simple. Use const acc = require("accreate");
for Node.JS.
Attributes:
acc
- account namepass
- password
Return values:
null
- means it worked"ERR"
- failed- nothing - internal error
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.
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.
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!