@architg564/learning-yt 0.0.1

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.
package/index.js ADDED
@@ -0,0 +1,9 @@
1
+ export function sayHello() {
2
+ return 'Hello';
3
+ }
4
+ export function greet() {
5
+ return 'Hi There!';
6
+ }
7
+
8
+ // export { greet1 } from './src/second.js'
9
+ // export { greet2 } from './src/third.js'
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@architg564/learning-yt",
3
+ "version": "0.0.1",
4
+ "description": "learning npm packaging tools",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "exports": {
8
+ ".": "./index.js",
9
+ "./second": "./src/second.js",
10
+ "./third": "./src/third.js"
11
+ },
12
+ "scripts": {
13
+ "test": "echo \"Error: no test specified\" && exit 1"
14
+ }
15
+ }
package/src/second.js ADDED
@@ -0,0 +1,3 @@
1
+ export function greet1() {
2
+ return "Hey!!!!";
3
+ }
package/src/third.js ADDED
@@ -0,0 +1,3 @@
1
+ export function greet2(){
2
+ return 'hey hey!!!!';
3
+ }