summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorLeo Goetz <dev@leogtz.de>2025-11-06 14:42:01 +0100
committerLeo Goetz <dev@leogtz.de>2025-11-06 14:42:01 +0100
commit91a6ac10e416dcf2c29b6e37e3dfe19672eb0f84 (patch)
tree8edaa0a875fd5a094284e563378db56253b95eb2 /index.js
inital commit
Diffstat (limited to 'index.js')
-rw-r--r--index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..36d56ef
--- /dev/null
+++ b/index.js
@@ -0,0 +1,9 @@
+#!/usr/bin/env node
+
+const note = process.argv[2];
+const newNote = {
+ content: note,
+ id: Date.now(),
+};
+
+console.log(newNote);