New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rdf-entity-webcomponent

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdf-entity-webcomponent

A Web component that displays a Graph Pointer (clownface)

  • 0.5.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-55.56%
Maintainers
1
Weekly downloads
 
Created
Source

rdf-entity-webcomponent

A clownface-based custom element that visualizes triples in tabular formats.

Usage

The element requires a single property pointer. This property value corresponds to the clownface pointer used by the visualization. A clownface pointer consists of a dataset and one or more terms.

If you are new to RDF and JavaScript, consider our Getting Started guide that also covers Clownface basics.

Run the example

npm install
npm run dev

It will display something similar to:

screenshot.png

See the example for details

Properties

PropertyAttributeModifiersTypeDefaultDescription
pointerfalseClownfaceEmpty clownfaceA pointer to the data to be shown.
technicalCuestechnical-cuesBooleanfalseDisplay information such as languages or datatypes
compactModecompact-modeBooleanfalseGroup repeated properties or values for a compact visualization
preferredLanguagespreferred-languagesArray['en', 'fr', 'de', 'it']A list of the languages to show in the labels, ordered by priority
embedBlankNodesembed-named-nodesBooleanfalseRecursively embeds any blank node positioned as an object
embedNamedNodesembed-blank-nodesBooleanfalseRecursively embeds any named entity positioned as an object
highlightLanguagehighlight-languageBooleanfalseHighlights literals matching prefered language
maxLevelmax-levelNumber3The maximum depth of the trees
showNamedGraphsshow-named-graphsBooleanfalseDisplay stats about named graphs and counts
metadatametadataObjectundefinedAdditional values to display in the section metadata
debugdebugBooleanfalseDisplays the current triples for debugging

FAQs

Package last updated on 06 Dec 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc