Releases: jamescostian/flashcardz
Releases · jamescostian/flashcardz
v1.0.1
v1.0.0
Added
- Support for Node v6 and beyond
Changed
- Use Jest instead of tape + NYC
Removed
- Support for versions of Node before v6
f.copy
- the implementation was poor, and in any case,Object.assign({}, card)
is available in this day and age.
v0.2.3
Changed
- Updated deps, use NYC instead of Istanbul
- Use stream-string instead of the repeated, manual implementations of it throughout the files in
bin
v0.2.2
Changed
- Updated deps
v0.2.1
Added
- Code of Conduct
- Support for Node 4.x.x
Changed
- Switch from special JSHint rules to standard
- Make project files more in line with those from module-init
- Switch from MIT to ISC
- CLI quizzer now indents everything uniformly
- Misc dep updates
v0.2.0
Added
- Support for Node v0.12
f.pick.smart()
- a new way to intelligently pick a cardrequire('flashcardz/cli-quizzer')
- now Flashcardz comes with an independent quizzer for use on a terminalf.copy()
- get a copy of an arrayf.rightWrong()
- how many times has a card/stack been gotten right/wrong?f.addHistoryEvent()
- add an event to the history of a cardf.dedupe()
- remove duplicate cards from a stackf.convert()
now also accepts types "objecty", "nice", and "single" - more info here- More tests - it's Flashcardz's goal to always have 100% code coverage
flash combine
- for combining multiple Flashcardz filesflash dedupe
- remove duplicate termsflash reset
- reset cards by removing their history
Changed
require('flashcardz')()
is no longer needed - just dorequire('flashcardz')
- No more stack names and internal state - pass around the whole stacks
f.quiz()
takes a whole stack and returns a promise that resolves to the new stack after the quiz endsf.easiest()
,f.hardest()
,f.gotWrong()
, andf.gotRight()
no longer accept stack names, only stack arraysf.idByFront()
andf.idsByFront()
take stack arrays instead of stack namesf.import()
becamef.convert()
, which returns a stack-based representation of whatever data it gets- Made most binary files accept data from STDIN
- Update README.md to match API and CLI changes
- Update js-api.md and cli.md to match API and CLI changes
flash import
removed in favor offlash convert
- New flashcardz format - instead of having a
right
andwrong
key, ahistory
key is used instead. Thehistory
is an array of objects, where each object represents a time that the user attempted to respond to seeing a flashcard. Each event has atime
and a boolean calledrecalled
- if the user got it right,recalled
is set totrue
, otherwise it isfalse
- More web-friendly! You can
require('flashcardz')
with Browserify and it'll work just fine, and it won't use any dependencies
Removed
- Support for Node v0.10 and v0.11 - use v0.12 or io.js instead
- Everything that touched the filesystem or was OOP-like
extend-config
f.insertStack()
f.insertCard()
f.getStack()
f.setCard()
f.setByID()
f.setByFront()
f.save()
f.loadStacks()
f.loadStack()
f.getList()
f.refresh()
f.config
f.stacks
flash ls
flash cat
flash write
flash append
flash rm
flash mv
flash cp
v0.1.0
This was a preview release