As per this post it is possible to install npm packages first and then create package.json at a later point of time.
I have installed nodeJs in my computer. In a simple empty folder when I run the command npm install jQuery I get below error on console:
D:\Rasik\reactJs\learnJs
`-- jquery@3.2.1
npm WARN enoent ENOENT: no such file or directory, open 'D:\Rasik\reactJs\learnJs\package.json'
npm WARN learnJs No description
npm WARN learnJs No repository field.
npm WARN learnJs No README data
npm WARN learnJs No license field.
I'm working on a plain HTML javascript project. I want to use npm simply to get latest packages or the javascript files. I don't want to do npm init before installing the packages as this is not some reactJs kind of application.