@goud0612/hello-world 1.1.0 → 1.3.0

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.
Files changed (2) hide show
  1. package/index.js +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -7,6 +7,11 @@ function add(a, b) {
7
7
  }
8
8
 
9
9
  function multiply(a, b) {
10
+ return a * b;
11
+ }
10
12
 
13
+ function saySomething(input) {
14
+ return `You said : ${input} Nice! Its all about practice.`;
15
+ }
11
16
 
12
- module.exports = { hello, add, multiply };
17
+ module.exports = { hello, add, multiply, saySomething };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goud0612/hello-world",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"