A light lookup tool for the arch user repository.
import * as aur from 'aurlookup';
const aurJSON = await aur.search("packagetosearchfor", "package");
import * as aur from 'aurlookup';
const aurJSON = await aur.search("maintainersname", "maintainer");
import * as aur from 'aurlookup';
const aurJSON = await aur.search("dependtolookfor", "makedepends");
import * as aur from 'aurlookup';
const aurJSON = await aur.search("dependtolookfor", "depend");
You can end any of the search commands with a true, to enable verbose mode.
import * as aur from 'aurlookup';
const aurJSON = await aur.search("spot", "package", true);
Open the examples/ folder to see an example of what json files you can get/