Learn Cards is a simple module which allows you to host a web server of custom defined flash cards.
learncards and provide a simple json file defining
all of the questions and answers for the flash cards.
Why did I pick a stupid name like
learncards? Because someone already
took the name
flashcard in npm and using
flashcards seems confusing.
So in come my limited creativity when it comes to naming projects.
git clone git://github.com/brettlangdon/learncards.gitcd ./learncardsnpm install./bin/learncards my_flashcards.json
npm install -g learncardslearncards my_flashcards.json
A Flashcard json file MUST contain a
cards property where each card is
an object which MUST contain a
An optional top level property of
title can be provided which sets the
title in the html site accordingly.
"title": "My Flashcards""cards":"question": "Who is the greatest?""answer": "Brett Langdon""question": "Who is terrible at naming projects?""answer": "Brett Langdon"
There is a binary file included with the installation
learncards is installed globally then the command should be available.
Otherwise you can run the binary directly from the
When running you must provide the location of the flashcards json file.
Then simple navigate to http://127.0.0.1:8000/ to practice your flashcards.
The MIT License (MIT)Copyright (c) 2013 Brett Langdon <email@example.com>Permission is hereby granted, free of charge, to any person obtaining a copy ofthis software and associated documentation files (the "Software"), to deal inthe Software without restriction, including without limitation the rights touse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies ofthe Software, and to permit persons to whom the Software is furnished to do so,subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESSFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS ORCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHERIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR INCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.