New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

umts

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

umts

Ultra minimum tools

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

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".

Keywords

UMTS

FAQs

Package last updated on 16 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts