1.0.2 • Published 2 years ago

logindude v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

About

You can make it easy to login!

make your electorn app, but with login!

how does it works?

we use get method, and a api. so, you can do is:

login.login(username, password, url) and, your url is like example.com/

so, what happen is this:

we use "GET" method to send this data:

username, password

like this:

example.com/?username=username&password=password

and if the response was {"stats":"ok"} , the program will be send response called "true".

this can use in if's.

like this:

const loginer = require('logindude');
const logger = require('logitrightnowdude');
if (loginer.login(username, password, url) == true){
    logger.log("Works!");
} else {
    logger.error("Nope:(");
}

and more!

fixes

fixed:

  • bug no true and no false fixed.
  • added some more things ...

have issue ?

if you have issue, you can contact me in github!

Contact Me!

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago