sushu 2.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 (3) hide show
  1. package/index.js +7 -0
  2. package/math.js +4 -0
  3. package/package.json +23 -0
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ const express=require('express');
2
+ const a=require('./math');
3
+ const fs=require('fs');
4
+ console.log("hello!!");
5
+ console.log("sum is: ",a.add(3,2));
6
+
7
+ // here to run code - node filename and we learn to init npm and npm install express
package/math.js ADDED
@@ -0,0 +1,4 @@
1
+ function add(a,b) {
2
+ return a + b;
3
+ }
4
+ module.exports = { add };
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "sushu",
3
+ "version": "2.0.0",
4
+ "description": "clear",
5
+ "keywords": [
6
+ "amma"
7
+ ],
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "baby"
11
+ },
12
+ "license": "ISC",
13
+ "author": "raju",
14
+ "type": "commonjs",
15
+ "main": "index.js",
16
+ "scripts": {
17
+ "test": "echo \"Error: no test specified\" && exit 1"
18
+ },
19
+ "dependencies": {
20
+ "express": "^5.2.1"
21
+ },
22
+ "devDependencies": {}
23
+ }