sarveshmaths 1.0.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 +11 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,11 @@
1
+ export function add(a, b){
2
+ return a+b;
3
+ }
4
+
5
+
6
+ // The code is written by Sarvesh bhai!
7
+
8
+ // npm init
9
+ // created index.js file
10
+ // defined an add function and exported it
11
+ // npm login
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "sarveshmaths",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "license": "ISC",
6
+ "author": "",
7
+ "type": "commonjs",
8
+ "main": "index.js",
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ }
12
+ }