Ask coding questions

← Back to all posts
Packager files
Bunnytoes (165)

I was doing stuff in the shell sections and I typed npm install -n csharp and it added a package-lock.json file, what does it do?

Answered by InvisibleOne (3206) [earned 5 cycles]
View Answer
InvisibleOne (3206)

The package lock file just keeps track of what packages you have installed in your repl, so it knows which ones to load to make your stuff run faster. If it's a package that you don't use you can just delete the package lock file.