@museumwnf/textiles-data
v1.0.1
Published
Static data export for textiles
Readme
@museumwnf/textiles-data
Static data export — projects: textiles.
Installation
npm install @museumwnf/textiles-dataUsage
import manifest from '@museumwnf/textiles-data/manifest.json' assert { type: 'json' }
import items from '@museumwnf/textiles-data/items.json' assert { type: 'json' }
// Lazy-load translations for a language
const { default: translations } = await import(`@museumwnf/textiles-data/translations/items.${lang}.json`)Available top-level JSON files: manifest.json, items.json, partners.json,
collections.json, dynasties.json, countries.json, glossary.json, languages.json.
Each has a per-language translation file under translations/{entity}.{lang}.json.
Terms of use
This data is Content of the MWNF Website under the
MWNF legal notice, which
governs its use (non-commercial, personal, educational and scientific use is
permitted, with attribution and mandatory reporting — see the notice for the
full terms). The notice text also ships in this package as LICENSE.md.
