@muradali9121/heynpmpackage 1.0.1 → 1.0.2

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.cjs +7 -1
  2. package/index.mjs +5 -1
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -1,2 +1,8 @@
1
- module.exports ={num: 45, name: 'Hi, I am murad ali.'}
1
+ module.exports ={
2
+ num: 45,
3
+ name: 'Hi, I am murad ali.',
4
+ sayHi: function sayHi(){
5
+ console.log('How are you?')
6
+ }
7
+ }
2
8
 
package/index.mjs CHANGED
@@ -1,2 +1,6 @@
1
1
  export const num = 45;
2
- export const name = 'Hi, I am murad ali'
2
+ export const name = 'Hi, I am murad ali'
3
+
4
+ export function sayHi(){
5
+ console.log('Hi, How are you?');
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muradali9121/heynpmpackage",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "main": "index.cjs",
5
5
  "module": "index.mjs",
6
6
  "exports": {