TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Npm Private Modules

141 pointsby mts_about 10 years ago

13 comments

BinaryIdiotabout 10 years ago
So this reads to me that they&#x27;re simply not going to update the ability to use GIT. Right now you can point to a repo or specific branch &#x2F; tag but it doesn&#x27;t read any of the versioning like bower does, so it can&#x27;t handle versioning properly. If they updated the use of GIT you could completely eliminate the need for this feature.<p>That kinda rubs me the wrong way; it feels like they&#x27;re trying to force this monetization as they&#x27;ve had plenty of us from the community wanting better GIT support for this very reason.<p>Honestly npm isn&#x27;t a very complex piece of software, you could even replace it with bower if you want git with versions. I wonder if any competitors are going to spring up who can simply iterate faster. I won&#x27;t even get started on their login system, ugh.
评论 #9375071 未加载
评论 #9375291 未加载
评论 #9375966 未加载
archgroveabout 10 years ago
We&#x27;re already using &quot;private&quot; modules, by hosting them in a private git repo. NPM can install from these, e.g., git+ssh:&#x2F;&#x2F;user@server:Account&#x2F;Repo.git, without problems. I&#x27;m not sure what value this would add for us, and the URL doesn&#x27;t sell me well on it.
评论 #9373802 未加载
评论 #9373408 未加载
评论 #9373576 未加载
joesbabout 10 years ago
IMHO, tying language&#x27;s defacto package management&#x27;s capabiity to a single company&#x27;s business model may hurts node.<p>No other language does this. you have all the same capability for propretary package with RubyGem&#x2F;Python&#x2F;Nuget, even Ubuntu allow you to add third party package repository.<p>It gives me the clue that npm may no longer improve, or many improvement will be &quot;premium&quot; feature.<p>I hope someone fork npm and add ability to parse semver from tag for github repo.
mts_about 10 years ago
Everything looks pretty awesome, except the payment model.<p>I&#x27;m a little surprised they didn&#x27;t go with a model similar to GitHub: - Payment plans with X number of private modules, or $1&#x2F;month per private module - Unlimited paying&#x2F;non-paying collaborators for private modules (perhaps only read access for non-paying)<p>With npm&#x27;s model all my collaborators will have to pay for npm private modules as well.
评论 #9373339 未加载
skrebbelabout 10 years ago
Does anyone know whether the open source NPM implementation allows me to implement and host my own private repository system without forking npm? Or is npm (and thus node and iojs) hard-tied to npm, Inc&#x27;s proprietary offering for private modules?
评论 #9375504 未加载
评论 #9374546 未加载
评论 #9373387 未加载
评论 #9373369 未加载
评论 #9375117 未加载
评论 #9375527 未加载
laurenceroweabout 10 years ago
The Python equivalent to this is to simply place your source release tarballs on a simple private web &#x2F; filesystem directory:<p><pre><code> pip install --find-links http:&#x2F;&#x2F;dist.example.com&#x2F;packages&#x2F; </code></pre> This also makes it simple to mirror all requirements locally for more reliable installs.<p>I wish I could do the same with npm.
tallesabout 10 years ago
If anyone is wonder the pricing like me just head to the home page: &quot;publish unlimited private modules for just $7&#x2F;month&quot;.<p>Here&#x27;s a question: people with read-only access (to my private packages) have to be paid users too?
评论 #9373838 未加载
kennethhabout 10 years ago
Suggestion, add a pricing link? I usually do a ctrl-F to search for pricing in a service like this, make it easier for me to find.
评论 #9373474 未加载
jbob2000about 10 years ago
I&#x27;m fearful of where this monetization is going. Part of what I like about npm is that everything is free, from the dinky little packages that do one thing really well, to the monumental ones that provide a host of functionality.<p>I would hate if NPM went the way of wordpress plugins, where every stupid little plugin costs $5 to access.
nabarazabout 10 years ago
I might have missed the obvious but what is the difference between this and hosting your own private git repository?
laggylukeabout 10 years ago
And now it&#x27;s down:<p><a href="http:&#x2F;&#x2F;status.npmjs.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;status.npmjs.org&#x2F;</a>
评论 #9374939 未加载
yellowappleabout 10 years ago
Somewhat off-topic: &quot;NPM Private Module&quot; would be an excellent recursive acronym.
ameliusabout 10 years ago
I recently got interested in nodejs. However, then I discovered that:<p>1. It doesn&#x27;t support threads (facilitating structural sharing of large data-structures between parallel tasks, which cannot be done using ordinary processes).<p>2. The module-loading mechanism (&quot;require()&quot;) natively doesn&#x27;t support delayed loading, which is needed when loading from within a browser. Yes, there is the &quot;browserify&quot; package, but, come on, something as basic like this should be supported out of the box. Especially considering the fact that there is a &quot;http&quot; module hardwired inside nodejs (why isn&#x27;t this a separate npm module, btw?)<p>3. To make my own privately held modules and install them properly, I have to run a npm server? This seems like an awful lot of work for something as basic as this. Ok, so now I can use the cloud for this, but come on, I should be able to do this just from within the filesystem, like e.g. git does it.<p>For people interested, one can use the package &quot;sinopia&quot; for hosting your own private modules. It seems to be a pretty decent package, but be aware that the authentication settings out of the box are completely insecure.
评论 #9373411 未加载
评论 #9373401 未加载
评论 #9375175 未加载
评论 #9373373 未加载