标签云

微信群

扫码加入我们

WeChat QR Code

Many languages have standard repositories where people donate useful libraries that they want others to have access to.For instance Perl has CPAN, PHP has PEAR, Ruby has RubyGems, and so on.What is the best option for JavaScript?I ask because a few months ago I ported Statistics::Distributions from Perl to JavaScript.(When I say ported I mean, "Ran text substitutions, fixed a few things by hand."I did not rewrite it.)Since I've used this module a number of times in Perl, I figure that statistics-distributions.js is likely to be useful to someone.So I've put it under the same open source license as the original (your choice of the GPL or the Artistic License).But I have no idea where to put it so that people who might want it are likely to find it.It doesn't fit into any sort of framework.It is just a standalone library that gives you the ability to calculate a number of useful statistics distributions to 5 digits of accuracy.In JavaScript.


I chose Google Code because I thought it more likely that someone searching for something like this would find it there than anywhere else.See code.google.com/p/statistics-distributions-js for the project.

2019年03月23日38分55秒

That was my original thought, but JSAN is a dead project at this point.

2019年03月24日38分55秒

Yeah, I didn't know JSAN was dead (shows you how often I used it), but it is as dead as a doornail. That's too bad, I think that would've been nice to have.

2019年03月23日38分55秒

My problem with promoting it that way is that I would be drawing attention to it for people who don't want it, and people who do in 6 months still can't find it.Even if there is no centralized repository, is there any reasonably popular and searchable one?

2019年03月24日38分55秒

Well, this sites have tags and well organized archives. I often do a search within when I'm looking for some JS stuff.

2019年03月23日38分55秒