1.0.3 • Published 5 years ago

hello-friend v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

What Is Hello Friend?

Says hello to anyone hello-friend

How To Install It?

Run this command in your command line:

 $ npm install Hello-Friend

How To Use It In Your Project?

For using Hello-Friend in your project:

    const helloFriend = require('hello-friend');
    hello('John Doe'); // => Hello John Doe

When you pass a number to parameter:

    const helloFriend = require('hello-friend);
    hello(123); // => I only say hi to strings

Or if you pass nothing to parameter:

    const helloFriend = require('hello-friend);
    hello(''); // => Person should have a name
    //-----------------------------------------
    hello(); // => Person should have a name