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.

Standard library for JavaScript and Node.js

19 pointsby gballanover 6 years ago

5 comments

itmeyouover 6 years ago
I only skimmed the github page, but this seems to be more of &#x27;what the author commonly uses&#x27; rather than what you&#x27;d normally expect of a standard library. For example, I&#x27;d expect that many of these features be more in a separate dedicated library rather than the &#x27;standard&#x27;:<p>- 40+ PRNGs (You might want one or two, but do you really need so many varients?)<p>- Plot API (Definitely more suited for a separate library)<p>- 50+ Sample Datasets (Often useless and <i>a lot</i> of wasted space if not used)<p>- Native BLAS Interface (Extremely niche usecase)<p>Edit: To be fair, it does say right at the very beginning &quot;with an emphasis on numerical and scientific computing applications&quot;. So they are upfront about it, but the library name and HN submission name are confusing because they don&#x27;t make this obvious.
评论 #18946549 未加载
TeMPOraLover 6 years ago
Oh. This one. I discovered it a couple weeks ago, and since then I keep wondering - how what&#x27;s essentially a statistics toolkit can get called a <i>standard library</i>? In every language I can think of that actually has a standard library, the library has very little to do with mathematics.
评论 #18948303 未加载
diegoperiniover 6 years ago
I feel spoiled enough by the ecosystem to expect that libraries which wants&#x2F;advertises itself to be a standard for Node.js to be backed by native code instead of pure Javascript, especially if the use case is complex, numerical computation.<p>Aside from that, the collection presented here is actually quite remarkable, kudos to the developer(s).
评论 #18949071 未加载
jdpigeonover 6 years ago
This looks like just the thing I&#x27;ve been looking for. I&#x27;m interested in getting into Mike Bostock&#x27;s Observable notebooks to do data visualization research but am afraid of the potential frustration of manipulating data frames in JS. This looks like it could make that a lot easier (I see you have a groupby function)
评论 #18955205 未加载
nmstokerover 6 years ago
So is this a way to help reduce the risk of leftpad type problems in NodeJS? <a href="https:&#x2F;&#x2F;www.theregister.co.uk&#x2F;2016&#x2F;03&#x2F;23&#x2F;npm_left_pad_chaos&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.theregister.co.uk&#x2F;2016&#x2F;03&#x2F;23&#x2F;npm_left_pad_chaos&#x2F;</a>
评论 #18946309 未加载