@kawadah/hello-world 0.1.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/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # hello-world-js
2
+
3
+ ## Usage
4
+
5
+ Install via npm or JSR.
6
+
7
+ ```typescript
8
+ // From npm
9
+ import { helloWorld } from "@kawadah/hello-world"
10
+ // From JSR
11
+ import { helloWorld } from "jsr:@kawadah/hello-world"
12
+
13
+ console.log(helloWorld())
14
+ ```
@@ -0,0 +1,5 @@
1
+ //#region src/index.d.ts
2
+ declare function helloWorld(): string;
3
+ //#endregion
4
+ export { helloWorld };
5
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";iBAAgB,UAAA"}
package/dist/index.mjs ADDED
@@ -0,0 +1,8 @@
1
+ //#region src/index.ts
2
+ function helloWorld() {
3
+ return "Hello, world!";
4
+ }
5
+ //#endregion
6
+ export { helloWorld };
7
+
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["export function helloWorld(): string {\n return \"Hello, world!\"\n}\n"],"mappings":";AAAA,SAAgB,aAAqB;CACnC,OAAO;AACT"}
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@kawadah/hello-world",
3
+ "version": "0.1.0",
4
+ "license": "MIT",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/kawadah/hello-world-js.git"
8
+ },
9
+ "files": [
10
+ "dist/"
11
+ ],
12
+ "type": "module",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.mts",
16
+ "import": "./dist/index.mjs"
17
+ }
18
+ },
19
+ "scripts": {
20
+ "build": "tsdown",
21
+ "format": "oxfmt --check .",
22
+ "format:fix": "oxfmt .",
23
+ "packcheck": "publint && attw --pack --profile esm-only .",
24
+ "prepack": "npm run build",
25
+ "typecheck": "tsc --noEmit"
26
+ },
27
+ "devDependencies": {
28
+ "@arethetypeswrong/cli": "^0.18.3",
29
+ "@types/node": "^24.12.4",
30
+ "oxfmt": "^0.54.0",
31
+ "publint": "^0.3.21",
32
+ "tsdown": "^0.22.2",
33
+ "typescript": "^6.0.3"
34
+ },
35
+ "engines": {
36
+ "node": "^24.16.0"
37
+ },
38
+ "packageManager": "pnpm@11.5.3+sha512.7ac1c919341c213a34dc0d02afb7143c5c26ac26ee8c4782deea821b8ac64d2134a081fd8941dae6e29bbb48f58dfc2b7fbceeccc07cb2f09d219d342a4969ed"
39
+ }