https://github.com/wmfs/cardscript-examples
https://github.com/wmfs/cardscript-examples
cardscript tymly
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wmfs/cardscript-examples
- Owner: wmfs
- License: mit
- Created: 2019-01-18T08:22:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-11T01:09:07.000Z (4 months ago)
- Last Synced: 2025-07-11T06:27:38.036Z (4 months ago)
- Topics: cardscript, tymly
- Language: JavaScript
- Size: 283 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 .json
const simpleFormExample = exampleLoader('simple-form')
```
```bash
$ npm test
```
## License
[MIT](https://github.com/wmfs/cardscript/blob/master/LICENSE)