TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How should i decide which JavaScript module to go with for my Product?

1 点作者 dprophecyguy将近 8 年前
Hey we are trying to create an enterprise grade product and the Stack we are going on with is : Node (Express) for backend, Angular JS for front end and MySql as database. Now the thing thats eating us away is which modules from npm libraries to choose, whether they would be availible for long run or not. For example, we have decided to work on SequelizeJS as ORM for MySql database. Now while creating authentication service for Facebook, Google we again face this problem for which module to go. We have some choices like Passport.js but we are unable to decide and find a metric based on which we can take a decision. If you guys have any experience then please consider helping us.

2 条评论

osvald将近 8 年前
One useful metric is simply the number of downloads it has on npm, and passport has a lot of downloads there: <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;passport" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;passport</a>
n17r4m将近 8 年前
Passport.js (mostly by word of mouth, I only used it breifly) seems like a robust sign in solution.