A Node.js package for invoking divine blessings for one's Javascript code.
Dua
is the Hindi word for blessings/good wishes. More than the meaning, I like the sound of it; it's cute.
For your code to run successfully, of course!
Well...yes. But honestly, it's not a lot. Believe me, it's better than React's dependency list! And again, why not add an extra dependency that puts in a harmless, useful blessing here and there? Not gonna hurt!
First, install it:
npm install --save dua.js
Next, you need to include dua in ever single module. Every single module. Blessings don't work when you solicit them half-heartedly.
var dua = require('dua.js')
That's it! When you need a blessing before running a piece of code that's particularly troublesome:
dua.helpMeJesus()
Every blessing comes with a unique ID, and you can even go ahead and log all your blessings. Remember, accumulated blessings are a blessing!
Inspired by a conversation with @kshitishpurohit. Built with additional blessings from @rudimk.