umts
v1.1.3
Published
Ultra minimum tools
Downloads
12
Readme
About UMTS
It stands for Ultra Minimum Tools.
How to install
npm i umts
How to use
.time()
Explanation: Return time with Node.js LocaleString format.
Return: Time
For example:
Code:
const umts = require("umts");
console.log(umts.time());
Execution result:
11/5/2022, 7:07:44 PM
.take(url, fullPage)
Explanation: Take web browser screenshot. Please add boolean to fullPage (true or false).
Return: Promise
Note: Please use await.
For example:
Code:
const umts = require("umts");
await fs.createWriteStream(umts.take("https://www.google.com", true));
Execution result: Saved file on same directory that name of "web.png".