diff options
| author | Leo Goetz <dev@leogtz.de> | 2025-11-06 14:42:01 +0100 |
|---|---|---|
| committer | Leo Goetz <dev@leogtz.de> | 2025-11-06 14:42:01 +0100 |
| commit | 91a6ac10e416dcf2c29b6e37e3dfe19672eb0f84 (patch) | |
| tree | 8edaa0a875fd5a094284e563378db56253b95eb2 /index.js | |
inital commit
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 9 |
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); |
