Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Contains information/code for different card types

NotificationsYou must be signed in to change notification settings

memory-cards/card-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Structure of a repo:

  • README.md - this file
  • types - directory to keep all card typesEach card-type should be presented in form:
  1. Separate directory with card-type name
  2. REAMDE.md file which explains the main purpose of type. Screenshots with examples and so on
  3. example.json5 - example card, described according to the card type
  4. validator.js - file, which should provide validation function, exported by default (in commonjs modules format), which should returntrue/false for incoming object. Better to use json-schema validation.
  5. index.js - file, which converts incoming object (like fromexample.json5) to structure. Should provide the single function as default export (commonjs modules format).
{  front:{(html)String},  back:{(html)String},  tags:{String[]}}

About

Contains information/code for different card types

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp