- Notifications
You must be signed in to change notification settings - Fork11
ygo-card is a javascript SDK for rendering YuGiOh card
License
NotificationsYou must be signed in to change notification settings
ymssx/ygo-card
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a javascript SDK for rendering YU-GI-OH card. Importygo-card
in your website, you can easily paint the standard YU-GI-OH cards!
$ yarn add ygo-card# or$ npm i ygo-card -D --save
import{Card}from'ygo-card';constcanvas=document.getElementById('card');constdata={name:'Ghost Ogre & Snow Rabbit',_id:'59438930',type:'monster',type2:'effect',type3:'tuner',attribute:'light',level:3,race:'Psychic',desc:'When a monster on the field activates its effect, or when a Spell/Trap that is already face-up on the field activates its effect (Quick Effect): You can send this card from your hand or field to the GY; destroy that card on the field. You can only use this effect of "Ghost Ogre & Snow Rabbit" once per turn',attack:0,defend:1800,};constcard=newCard({ data, canvas,moldPath:'./dist/mold'});card.render();
About
ygo-card is a javascript SDK for rendering YuGiOh card
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.