octavio 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,32 @@
1
+ # Octavio
2
+
3
+ A tiny TypeScript package that exports a simple `octavio` function.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install octavio
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import octavio from "octavio";
15
+
16
+ console.log(octavio("friend"));
17
+ // Hello, friend, from Octavio!
18
+ ```
19
+
20
+ ## Local development
21
+
22
+ ```bash
23
+ npm install
24
+ npm run build
25
+ ```
26
+
27
+ ## Publish
28
+
29
+ ```bash
30
+ npm login
31
+ npm publish --access public
32
+ ```
@@ -0,0 +1,3 @@
1
+ export declare function octavio(name?: string): string;
2
+ export default octavio;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,IAAI,SAAU,GAAG,MAAM,CAE9C;AAED,eAAe,OAAO,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ export function octavio(name = "world") {
2
+ return `Hello, ${name}, from Octavio!`;
3
+ }
4
+ export default octavio;
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,OAAO,CAAC,IAAI,GAAG,OAAO;IACpC,OAAO,UAAU,IAAI,iBAAiB,CAAC;AACzC,CAAC;AAED,eAAe,OAAO,CAAC"}
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "octavio",
3
+ "version": "0.1.0",
4
+ "description": "Octavio npm package",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md"
18
+ ],
19
+ "sideEffects": false,
20
+ "scripts": {
21
+ "build": "tsc -p tsconfig.build.json",
22
+ "clean": "rm -rf dist",
23
+ "prepublishOnly": "npm run clean && npm run build"
24
+ },
25
+ "keywords": [
26
+ "octavio"
27
+ ],
28
+ "license": "MIT",
29
+ "devDependencies": {
30
+ "typescript": "^5.9.2"
31
+ }
32
+ }