Socket
Socket
Sign inDemoInstall

@wmfs/cardscript-extract-defaults

Package Overview
Dependencies
2
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @wmfs/cardscript-extract-defaults

Extracts sensible defaults from some Cardscript.


Version published
Weekly downloads
45
increased by36.36%
Maintainers
1
Install size
350 kB
Created
Weekly downloads
 

Changelog

Source

1.35.0 (2022-01-24)

✨ Features

  • create new stepper component (20b2831)

🛠 Builds

  • deps-dev: update dependency mocha to v9.1.4 (5f26766)
  • deps-dev: update dependency mocha to v9.2.0 (6d56895)
  • deps-dev: update dependency semantic-release to v18.0.1 (0f5d3b3)
  • deps-dev: update dependency semantic-release to v19 (cf91130)
  • deps-dev: update semantic-release monorepo (9a41bd4)

Readme

Source

cardscript-extract-defaults

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

Extracts sensible defaults from some Cardscript.

Install

$ npm install cardscript-extract-defaults --save

Usage

const extractDefaults = require('@wmfs/cardscript-extract-defaults')

const defaultValues = extractDefaults(
    {
      "type": "AdaptiveCard",
      "body": [
        {
          "type": "TextBlock",
          "text": "Change me!",
          "color": "attention",
          "horizontalAlignment": "center"
        }
      ],
      "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
      "version": "1.0"
    }
)

Testing

$ npm test

License

MIT

Keywords

FAQs

Last updated on 24 Jan 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc