Subject: Re: [nodejs] Automatically populate dependencies based on node_modules folder contents? Thanks for the answer, didn't know that myself :). Might want to update the docs you linked to as I don't actually see --save or -S mentioned anywhere on that page or the install package page. Though I could be missing it. On Tue, Feb 21, 2012 at 10:02 PM, Thomas Blobaum <tblobaum@xxxxxxxxx> wrote: > yes. > > npm install package --save > or npm install package -S > > http://npmjs.org/doc/ > > Thomas Blobaum > https://github.com/tblobaum > > > > On Tue, Feb 21, 2012 at 8:40 AM, dhruvbird <dhruvbird@xxxxxxxxx> wrote: > >> Hello, >> >> While developing stuff, I tend to "npm install packageX" for packages >> I want and then I need to manually add it to my package.json. Is there >> a way to make npm do this for me automatically? >> >> Regards, >> -Dhruv. >> >> -- >> 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 nodejs@xxxxxxxxxxxxxxxx >> To unsubscribe from this group, send email to >> nodejs+unsubscribe@xxxxxxxxxxxxxxxx >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- > 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 nodejs@xxxxxxxxxxxxxxxx > To unsubscribe from this group, send email to > nodejs+unsubscribe@xxxxxxxxxxxxxxxx > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- 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 nodejs@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to nodejs+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en |