devterms-flashcards
v1.1.0
Published
A small library of fullstack dev flashcards (npm, Node.js, React, Sass, Git terms & definitions) for building learning apps.
Maintainers
Readme
devterms-flashcards
A small library of fullstack dev flashcards — terms & definitions for npm, Node.js, React, Sass, and general dev concepts. Built to power flashcard/quiz learning apps.
Install
npm install devterms-flashcardsUsage
const {
getAllCards,
getRandomCard,
getByCategory,
getCategories,
shuffleCards,
} = require("devterms-flashcards");
getAllCards(); // -> all 32 flashcards
getRandomCard(); // -> one random card
getRandomCard("react"); // -> one random card from the "react" category
getByCategory("npm"); // -> all cards in the "npm" category
getCategories(); // -> ["npm", "node", "react", "sass", "general"]
shuffleCards(); // -> all cards in random orderEach card looks like:
{ id: 16, category: "react", term: "Component", definition: "A reusable, self-contained piece of UI..." }License
MIT
