Socket
Socket
Sign inDemoInstall

mozaik-ext-json2graph

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mozaik-ext-json2graph

A mozaik widget that allows json information to be displayed in a graph


Version published
Maintainers
1
Created
Source

Mozaïk value widgets

NPM version

Value widget for the Mozaïk dashboard framework.

Preview

value

Value Widget Configuration

Api Configuration

No API configuration is needed.

Dashboard Configuration

{
  // ...
  {
    type:               'value.value',
    title:              'Number of Likes',
    url:                'https://dl.dropboxusercontent.com/u/19253297/test.json',
    rowValue:        '$.current', /* optional */
    pathLastUpdated:    '$.lastUpdated', /* optional */
    pathChangeRate:     '$.changeRate', /* optional */
    lastUpdatedFormat:  'YYYY-MM-DDThh:mm:ssTZD', /* optional */
    lastUpdatedFromNow: true, /* optional */
    prefix:             '', /* optional */
    postfix:            ' likes', /* optional */
    columns: 2, rows: 1,
    x: 1, y: 0
  }
}

Parameters

keyrequireddescription
urlyesThe URL to fetch the value
titleyesThe widget title
prefixnoPrefix of the value
postfixnoPostfix of the value
lastUpdatedFormatnoFormat of the 'lastUpdated' value (default 'YYYY-MM-DDThh:mm:ssTZD')
lastUpdatedFromNownoWhether to display the 'lastUpdated' value in "from now" format (default true)
rowValueno  The JSON path to the 'current' value
pathLastUpdatednoThe JSON path to the 'lastUpdated' value
pathChangeRatenoThe JSON path to the 'changeRate' value

Keywords

FAQs

Package last updated on 04 Aug 2017

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