4_rohith_greet_exportmodule 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ const greet = require('4_rohith_greet_module').greet;
2
+ console.log(greet("Rohith Ravirala"));
@@ -0,0 +1,5 @@
1
+ const greet = ((name)=>{
2
+ return "Hello "+name+"\nWelcome to the world of Rohith Greet Module!";
3
+ })
4
+
5
+ module.exports = {greet};
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "4_rohith_greet_exportmodule",
3
+ "version": "1.0.3",
4
+ "description": "Learning Nodejs",
5
+ "license": "ISC",
6
+ "author": "Rohith",
7
+ "type": "commonjs",
8
+ "main": "4_rohith_greet_exportmodule.js",
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ }
12
+ }