1.1.0 • Published 2 years ago
whichx-utils2.0 v1.1.0
A package, with tools designed to work with strings, numbers, and mathematics.
Usage get port
import { port } from "whichx-utils2.0";
const body = port.default({
Types: [
{
port: 80
}
],
config: {}
});
console.log(body) // { type: "HTTP" }
Usage MessageFrom
import { MessageFrom } from "whichx-utils2.0";
const body = MessageFrom("привет");
console.log(body) // Привет.
Usage to getLast
import { getLast } from "whichx-utils2.0";
const body = ["привет", "здравствуй"].getLast();
console.log(body) // здравствуй
Usage to WhileUtils
import { whileUtils } from "whichx-utils2.0";
const body = whileUtils("url in vkhost.github.io");
console.log(body) // ...