logindude
v1.0.2
Published
You can make it easy to login!
Readme
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!
