Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wmfs/cardscript-examples
https://github.com/wmfs/cardscript-examples
cardscript tymly
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wmfs/cardscript-examples
- Owner: wmfs
- License: mit
- Created: 2019-01-18T08:22:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-27T21:30:22.000Z (4 months ago)
- Last Synced: 2024-10-13T13:38:45.555Z (4 months ago)
- Topics: cardscript, tymly
- Language: JavaScript
- Size: 268 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cardscript-examples
[![Tymly Cardscript](https://img.shields.io/badge/tymly-cardscript-blue.svg)](https://tymly.io/)
[![CircleCI](https://circleci.com/gh/wmfs/cardscript-examples.svg?style=svg)](https://circleci.com/gh/wmfs/cardscript-examples)
[![npm (scoped)](https://img.shields.io/npm/v/@wmfs/cardscript-examples.svg)](https://www.npmjs.com/package/@wmfs/cardscript-examples)
[![codecov](https://codecov.io/gh/wmfs/cardscript-examples/branch/master/graph/badge.svg)](https://codecov.io/gh/wmfs/cardscript-examples)
[![CodeFactor](https://www.codefactor.io/repository/github/wmfs/cardscript-examples/badge)](https://www.codefactor.io/repository/github/wmfs/cardscript-examples)
[![Dependabot badge](https://img.shields.io/badge/Dependabot-active-brightgreen.svg)](https://dependabot.com/)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/wmfs/tymly/blob/master/packages/concrete-paths/LICENSE)> Example Cardscript JSON files, to help with testing and documentation. Includes loader utility.
* Note: files
## Install
```bash
$ npm install cardscript-schema --save
``````javascript
const exampleLoader = require('@wmfs/cardscript-examples')// Loads an example from the /lib/fixtures dir.
// Param is name of JSON file, without .jsonconst simpleFormExample = exampleLoader('simple-form')
```
```bash
$ npm test
```## License
[MIT](https://github.com/wmfs/cardscript/blob/master/LICENSE)