JavaScript dbj.cond-itional all the way

I have found some  time to do it properly at last.  If this is all news to you please start from here.  the beginnings and motivations are described here.

Classification of patterns of usage aka “Shapes”

Sounds very pompous. But it seems it is not and it is very useful to understand how to use dbj.cond effectively. Just click on the image to jump to dbj.cond shapes catalog,

For the ones wondering why would anybody think of replacing if-then-else , I might suggest to start from Wikipedia  introduction to the issue.

There are 2 NPM  packages one GitHub project and one JSFiddle so far.

dbj.cond

Is know much streamlined.  Secondary comparator is introduced and so on. Please start from its NPM page.

Release V 4.0.0 (23JAN18) has the core algorithm rewritten.  And improved.

API: dbj.cond.strcmp() and dbj.cond.reset() have been added.

dbj.cond.comparators

Previously bundled with dbj.cond. Now separated and highly functional NPM module.

dbj.cond.tests

Is an ongoing effort to collect tests and examples showing and proving the validity and usefulness of dbj.cond() , and the concepts behind.

dbj.cond in the browser

Thanks to  RAWGIT we are able to provide easy no-fuss permalinks to the latest up-to-date files

dbj.cond permalink

https://cdn.rawgit.com/DBJDBJ/dbj.cond/master/dbj.cond.js

dbj.cond.comparators permalink

https://cdn.rawgit.com/DBJDBJ/dbj.cond.comparators/master/dbj.cond.comparators/dbj.cond.comparators.js

JSFiddle, using the above links, for quick testing in the browser of your choice is here

https://jsfiddle.net/dbjdbj/ws0ep08d/

CSP

Of course, please  do not blame me, or any body else if you are faced with Content Security Policy issues.