Why package-lock.json use "-" and node_modules use "_" ?

(Z Yin) #1

This question came to mind today when I was naming a folder in my new project - it’s my own project so I get to decide how to name things, and I want to decide on a good practice to stick to.

So I’m just wondering, was there a reason package-lock.json use " - " and node_modules use " _ " ?When do you " - " and when do you use " _ "?

(system) closed #2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.