i18query 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/index.js +10 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,2 +1,11 @@
1
1
  // index.js
2
- export const placeholder = "Reserved";
2
+
3
+ /**
4
+ * Logs a welcome message to the console.
5
+ * @param {string} name - The name of the user to greet.
6
+ */
7
+ function logGreeting(name) {
8
+ console.log(`Hello, ${name}! Welcome to my first npm package.`);
9
+ }
10
+
11
+ module.exports = { logGreeting };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18query",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Reserved name",
5
5
  "main": "index.js",
6
6
  "scripts": {