I did read the thread I forgot that npm can install direcly from a repo ... I never do that.
While the single name space of the npm repo does create a scarce resource, I think that a prefix or suffix on a module with a general name is ok. ver merge = require('foo-merge') makes it clear which merge module you are using in your code and allows the code to be readable On Sun, May 26, 2013 at 11:53 AM, George Stagas <gsta...@gmail.com> wrote: > 2013/5/26 Dick Hardt <dick.ha...@gmail.com>: > > I can't imagine it being a great experience to discover a package with > npm > > that I cannot install with npm -- I would find it frustrating -- here is > a > > package that might be useful to you, but you have to install out of band. > > > > npm can install user/repo so it might as well display them when > searching, did you read the thread or what. > > > > > > > On Sun, May 26, 2013 at 11:29 AM, stagas <gsta...@gmail.com> wrote: > >> > >> > >> As I see it, npm is 3 things right now: > >> > >> 1. a registry (single namespace by design, never going to change, fine) > >> 2. a package manager (works with npm registry and recently gh user/repo, > >> great!) > >> 3. a module discovery platform (but sadly, only for the npm registry) > >> > >> Let's just fix #3 to include user/repo projects. That is all it needs to > >> be full and complete. Otherwise me and other people will continue to > bug you > >> until the end of time :) this issue isn't going to go away, it's only > going > >> to get worse as more people make more modules IMHO. > >> > >> Also, I was looking at the Most starred in npmjs.org website. Here they > >> are: > >> > >> 136 express > >> 62 request > >> 60 async > >> 50 socket.io > >> 49 mocha > >> 45 grunt > >> 41 underscore > >> 36 jade > >> 34 redis > >> 33 connect > >> > >> From these 10 modules, 4 have proper naming that kinda describe what > >> they're about (request, async, socket.io and redis). 1 is kinda > misleading > >> (connect), and the rest have fancy names because it's just not creative > to > >> name a web framework 'server' or a test framework 'test' or a template > >> library 'template'. They need to stand out because of their nature and > be > >> memorable. But common tasks favor first-comers because it's the thing > that > >> people will type when searching for something and it will come up at the > >> top. If I want to make an http request module I don't see the problem > naming > >> it 'request' as well since that's what it does. > >> > >> Not all cases are the same and for some projects fancy names are o.k. > and > >> for some other projects (usually single function ones) you just want > them to > >> communicate their purpose so that the code is less obscure. You say > you'll > >> be frustrated if you see require('request') and it isn't > 'mikeal/request' > >> but I'm equally frustrated when I read 'chaos' 'maga' 'jjw' 'slag' and > have > >> to dig in npmjs.org to find out what each one does. > >> > >> > >> > >> On Saturday, May 25, 2013 9:49:09 AM UTC+3, stagas wrote: > >>> > >>> Hi all, > >>> > >>> I really want to name my modules however I like and be installable and > >>> require-able. > >>> > >>> For example, I want to write a 'merge' utility, and I don't want to > >>> struggle coming up with a random set of letters because I want my code > >>> to read require('merge') not require('golalamergifiable'). > >>> > >>> What are my options currently? Anyone have any solutions? > >> > >> -- > >> -- > >> 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@googlegroups.com > >> To unsubscribe from this group, send email to > >> nodejs+unsubscr...@googlegroups.com > >> 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 nodejs+unsubscr...@googlegroups.com. > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > > > > > > > -- > > -- Dick > > > > -- > > -- > > 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@googlegroups.com > > To unsubscribe from this group, send email to > > nodejs+unsubscr...@googlegroups.com > > 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 nodejs+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > -- > 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@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > 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 nodejs+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Dick -- -- 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@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com 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 nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.