1.0.7 • Published 3 years ago

accreate v1.0.7

Weekly downloads
23
License
ISC
Repository
-
Last release
3 years ago

Accreate Beta


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

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago