accreate

1.0.7 • Public • Published

stars forks issues version discuss lastcommit lang

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 name
  • pass - password

Return values:

  • null - means it worked
  • "ERR" - failed
  • nothing - internal error
To edit/manage an account, use acc.request().

Attributes:

  • acc - account name
  • pass - password

Objects/functions:

  • changePass - changes password. (Attributes: x = new password)
  • pfp - returns profile picture
  • del - deletes account

Coin Management (optional coin money):

  • input - adds coins to your account
  • coins - returns coins amount
  • withdraw - 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!

run on repl.it

Readme

Keywords

none

Package Sidebar

Install

npm i accreate

Weekly Downloads

1

Version

1.0.7

License

ISC

Unpacked Size

7.93 kB

Total Files

3

Last publish

Collaborators

  • thefirecat