Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.3 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.3 KB

A place to test Nodejs and more as a beginner with the magic of VSCode

DEBUG Setting for VSCode

Use the same setting, change the filename of the program only...

{
            "type": "node",
            "request": "launch",
            "name": "First one",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "program": "${workspaceFolder}\\first.js"
        }

first.js

The JS file was testing the simple-icons library to see how the output look like. It became the Socmed Button Component in my firstAstroSite Repo.

Date Time test

The datetimetest JS file was for testing date time library because parsing date time format was not easy. Decision to choose which library to use was refered from You don't (may not) need Moment.js Repo.

What am I trying to parse/convert?

Mon Jul 16 01:28:17 +0000 2012

ccc MMM dd HH:mm:ss xxxx yyyy // format in date-fns library

Should trry day.js

Dayjs seems simple enough.