message-b21 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/math.cjs +12 -0
  2. package/math.mjs +8 -0
  3. package/package.json +10 -0
package/math.cjs ADDED
@@ -0,0 +1,12 @@
1
+ function createString(name){
2
+ return `Welcome Mr./Mrs. ${name}`
3
+ }
4
+
5
+ function company(name){
6
+ return `Your company name is ${name}`
7
+ }
8
+
9
+ module.export={
10
+ createString,
11
+ company
12
+ }
package/math.mjs ADDED
@@ -0,0 +1,8 @@
1
+ export function createString(name){
2
+ return `Welcome Mr./Mrs. ${name}`
3
+ }
4
+
5
+ export function company(name){
6
+ return `Your company name is ${name}`
7
+ }
8
+
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "message-b21",
3
+ "version": "1.0.0",
4
+ "main": "math.cjs",
5
+ "module": "math.mjs",
6
+ "exports": {
7
+ "import": "./math.mjs",
8
+ "require": "./math.cjs"
9
+ }
10
+ }