wikidata-entity-reader
v4.1.1
Published
read information of wikidata entities in a simpler way
Downloads
106
Readme
wikidata-entity-reader
read information of wikidata entities in a simpler way
This library is meant to help with things like labels in a predefined language or faster access to claims
Install
npm install wikidata-entity-reader
Usage
import { WikibaseEntityReader } from 'wikidata-entity-reader';
const reader = new WikibaseEntityReader(entity, 'en');
reader.label();
//=> 'human'
reader.label('de');
//=> 'Mensch'