You know, Frank, I'm very new to all of this myself but one might have 
guessed that there's some relationship between how Node handles modules and 
package.json files. Whoah! It turns out that what Ben linked to was a whole 
lot of useful information that could help you with learning all about what 
you were asking (and some things related to it). 
Specifically 
http://nodejs.org/docs/latest/api/modules.html#modules_folders_as_modules.

JavaScript, Node and everything that's growing around both is a very 
complex subject. You need to accept that sometimes information suggested to 
you won't immediately appear to be relevant to what you're asking. This is 
my first post to this group even though I've been reading through for the 
past month,and I'm happy to use it to suggest that you apologize and 
attempt a new approach to learning and accepting answers to your questions.

On Wednesday, March 26, 2014 10:49:42 AM UTC-4, Frank Z wrote:
>
> I bought a book on Node.js since I'm teaching myself backend development, 
> and in this book the author talks about the importance of package.json 
> files. He emphasizes that it's great for keeping track of module 
> dependencies in a json format, and installing them all at once using "npm 
> install" in a terminal. So far so good...
>
> But how do I assign my package.json to a particular node.js file? Just 
> stick it in the same folder??? Does it not clash with the package.json file 
> that comes with locally installed npm modules? Do I just make the Name key 
> in the json file the exact same as my js file?
>
> Maybe the package.json is simply for putting your project on npm?
>
> I'm totally confused....
>
> Would be cool if there was a node.js expert I could chat with over skype. 
> I'm so lost.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to