Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method ItemHelper.prototype.getItem
Re-export
import { ItemHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Gets item data from items.json

Parameters

tpl: string

items template id to look up

Returns

[boolean, ITemplateItem]

bool - is valid + template item object as array