madnimaths 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 (3) hide show
  1. package/maths.cjs +5 -0
  2. package/maths.mjs +4 -0
  3. package/package.json +11 -0
package/maths.cjs ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {num: 5, muhammadMadni: "Hi! I am Madni"}
2
+
3
+ console.log("cjs is running");
4
+
5
+
package/maths.mjs ADDED
@@ -0,0 +1,4 @@
1
+ export const num = 5
2
+ export const muhammadMadni = "Hi! I am Madni"
3
+
4
+ console.log("mjs is running");
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "madnimaths",
3
+ "version": "1.0.0",
4
+ "main": "maths.cjs",
5
+ "module": "maths.mjs",
6
+ "exports": {
7
+ "import": "./maths.mjs",
8
+ "require": "./maths.cjs"
9
+ }
10
+ }
11
+