0.0.1 • Published 7 months ago

@telicent-oss/ontology-find-icon-helper v0.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

@telicent-oss/ontology-find-icon-helper

Monorepo Location: ./packages/ontology-find-icon-helper

A helper for frontend apps to load and access ontology icons from ontology styles

Install

yarn install @telicent-oss/ontology-find-icon-helper

Usage

import { OntologyFindIconHelper } from "@company-oss/ontology-find-icon-helper";

// Initialize the CatalogService
const catalogService = await CatalogService.createAsync({
  writeEnabled: true,
  triplestoreUri: "http://localhost:3030",
  dataset: "dataset",
});

// Create Catalog
const catalog1 = await DCATCatalog.createAsync(
  catalogService,
  "http://mysche.ma/data/catalog1",
  "Catalog",
  "2023-01-01"
);

Development

Build

git clone https://github.com/Telicent-oss/rdf-libraries
cd rdf-libraries
yarn install
cd /packages/ontology-find-icon-helper
# make changes
npx nx affected:build