New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

knowledge-graph

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knowledge-graph

Simple lightweight component that render a table of facts about a subject, similar to google's knowledge graph / info box.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Knowledge-graph

Simple lightweight component that render a table of facts about a subject, similar to google's knowledge graph / info box.

image

Go to https://lemnis.github.io/knowledge-graph/ for a live demo.

How to use as a web component

<!-- Add script & stylesheet -->
<link rel="stylesheet" href="https://raw.githack.com/lemnis/knowledge-graph/master/src/style.css">
<script src="https://raw.githack.com/lemnis/knowledge-graph/master/src/script.js" type="module"></script>

<!-- component -->
<knowledge-graph key="Q2770505" source="wikidata"></knowledge-graph>

Todo

  • Improve & add more data sources
  • Allow multiple methods for using the component (React, Node, iframe, etc)

FAQs

Package last updated on 08 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts