03_ydk_utils 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.
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "03_ydk_utils",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1"
7
+ },
8
+ "keywords": ["ydk", "utils"],
9
+ "author": "ydk",
10
+ "license": "MIT",
11
+ "description": "this is a test"
12
+ }
package/src/date.js ADDED
@@ -0,0 +1,3 @@
1
+ export function date(){
2
+ return "2026.3.18"
3
+ }
package/src/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export {add, sub} from "./math.js";
2
+ export {date} from "./date.js"
package/src/math.js ADDED
@@ -0,0 +1,7 @@
1
+ export function add(num1, num2){
2
+ return num1+num2
3
+ }
4
+
5
+ export function sub(num1, num2){
6
+ return num1-num2
7
+ }