Giter Club home page Giter Club logo

dua.js's Introduction

npm version

dua.js

A Node.js package for invoking divine blessings for one's Javascript code.

Dua?

Dua is the Hindi word for blessings/good wishes. More than the meaning, I like the sound of it; it's cute.

Why do I need this?

For your code to run successfully, of course!

But doesn't this add to my dependencies?

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!

Okay, fine. I'm convinced. How do I use it?

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!

Credits

Inspired by a conversation with @kshitishpurohit. Built with additional blessings from @rudimk.

dua.js's People

Contributors

utf94 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.