1.19.1 • Published 6 months ago

@wmfs/cardscript-extract-lists v1.19.1

Weekly downloads
44
License
MIT
Repository
github
Last release
6 months ago

cardscript-extract-lists

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

Extracts list objects from some Cardscript.

Install

$ npm install cardscript-extract-lists --save

Usage

const extractLists = require('@wmfs/cardscript-extract-lists')

const lists = extractLists(
  {
    "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

1.19.0

9 months ago

1.19.1

6 months ago

1.18.0

11 months ago

1.17.0

11 months ago

1.15.0

1 year ago

1.16.0

1 year ago

1.14.0

2 years ago

1.13.0

2 years ago

1.12.0

2 years ago

1.11.1

2 years ago

1.11.0

2 years ago

1.9.0

3 years ago

1.10.0

3 years ago

1.8.0

4 years ago

1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago