https://github.com/wmfs/cardscript-examples
https://github.com/wmfs/cardscript-examples
cardscript tymly
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wmfs/cardscript-examples
- Owner: wmfs
- License: mit
- Created: 2019-01-18T08:22:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-16T00:26:56.000Z (3 months ago)
- Last Synced: 2025-04-15T10:23:10.763Z (about 1 month ago)
- Topics: cardscript, tymly
- Language: JavaScript
- Size: 270 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cardscript-examples
[](https://tymly.io/)
[](https://circleci.com/gh/wmfs/cardscript-examples)
[](https://www.npmjs.com/package/@wmfs/cardscript-examples)
[](https://codecov.io/gh/wmfs/cardscript-examples)
[](https://www.codefactor.io/repository/github/wmfs/cardscript-examples)
[](https://dependabot.com/)
[](http://commitizen.github.io/cz-cli/)
[](https://standardjs.com)
[](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)