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

@wmfs/cardscript-extract-graphs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wmfs/cardscript-extract-graphs

Extracts graph components from Cardscript.

1.1.0
latest
Source
npm
Version published
Weekly downloads
20
-67.74%
Maintainers
1
Weekly downloads
 
Created
Source

cardscript-extract-graphs

Tymly Cardscript CircleCI npm (scoped) codecov CodeFactor Dependabot badge Commitizen friendly JavaScript Style Guide license

Extracts graph components from Cardscript.

Install

$ npm install cardscript-extract-graphs --save

Usage

const extractGraphs = require('@wmfs/cardscript-extract-graphs')

const graphs = extractGraphs(
  {
    "type": "AdaptiveCard",
    "body": [
      {
        "id": "testGraph",
        "type": "Graph",
        "stats": {
          "mean": "{{data.mean}}",
          "stdev": "{{data.stdev}}",
          "min": "{{data.min}}",
          "max": "{{data.max}}"
        }
      }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.0"
  }
)

Testing

$ npm test

License

MIT

Keywords

tymly

FAQs

Package last updated on 24 Jan 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