urban-ts
v1.0.0
Published
A better written urban command, written in TypeScript!
Downloads
1
Maintainers
Readme
urban-ts
Examples
Searching Specific Terms:
import { search } from "urban-ts";
(async () => {
const data = await search(`9 + 10 = 21`);
// Parameters as followed:
// 1st = term, 2nd = position (number), 3rd = object (example: { start: 0, end: 2 }) two results, if any.
})();
Random Terms:
import { random } from "urban-ts";
(async () => {
const data = await random();
// some random word that it randomly selected
})();