Currently the following submodules are available:
The TidBits concept focusses on making available general purpose utilities in a consistent way as git submodules. The TidBits central repository is a way to centralise these snippets and to make sure they are documented and unit tested in a consistent way. Currently TidBits is split per programming language and that shall probably remain so for ever.
If you want individual modules only, have a look at their readme file for installation instructions
All snippets by themselves are git repositories on their own right, and this allows you to add them on an individual basis to your repositories as submodules, or to clone the TidBits central repository to have all of them available.
There are 2 files which just allow centrally testing all snippets:
- tests.htm: for browsers
- tests.js : for nodejs
- your code must be fully unit tested
- it must be possible to call the unit tests from outside (eg. the main TidBits repository must be able to test your code)
- it must be documented
- if must be generic (this is meant as to be a programmers swiss knife, not a university or encyclopedia)
- if it doesn't deal with browser specific issues, make sure it runs in nodejs as well as in browsers
- use minimal dependencies, (eg. don't rely on jQuery just so you can have extend)
- do not have a constraining licence
- currently there is no central documentation system, so the only requirement is that you have a decent readme in your repo