js-dec Decrement a number. Throws if applied to other type than Number. Installation npm i -S js-dec Usage import dec from 'js-dec'; dec(5); // 4