I am new in programming languages.I was trying to learn web socket with javascript to this site, but i am not understanding something that why i need to use Package.json. I tried to google a lot, but can not find something useful.
One more thing if i create Package.json then why i need to write dependencies ? and why need it ?
Please explain in poor man language.