我想使用Stormpath,Express.js和Node.js.我要使用stormpath-express还是express-stormpath? [英] I want to use Stormpath, Express.js, and Node.js. Do I want stormpath-express or express-stormpath?

查看:75
本文介绍了我想使用Stormpath,Express.js和Node.js.我要使用stormpath-express还是express-stormpath?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发布了一个更早的问题("

I posted an earlier question ("What do I need to know to transfer a working Node project?") after I had a Node project working on a server, and couldn't get it to work at all on my laptop.

在起草另一条评论的过程中,我注意到了一些有趣的事情.可能提供最多帮助的人询问了我的Node和Stormpath的版本号,当我给他们时,他说我package.json中的版本号看起来不像是Stormpath-express的版本号.

In the course of drafting another comment, I noticed something funny. The person who probably gave me the most help asked my version numbers for Node and Stormpath, and when I gave them, he said that my version number from my package.json didn't look like a stormpath-express version number.

我尝试调和的结果是,既有 stormpath-express 程序包和 express-stormpath 程序包,也有那很奇怪"的说明我得到的是,当他问起我的版本号时想到了 stormpath-express ,然后从我的packages.json中用 express-stormpath 回答了他.

What I found out in trying to reconcile is that there are both a stormpath-express package, and an express-stormpath package, and the "that's odd" remark I got was when I he asked me my version number with stormpath-express in mind, and I answered him with the express-stormpath from my packages.json.

我不知道这与我在

I don't know how little or how much this had to do with my original troubles in What do I need to know to transfer a working Node project?, but what is the difference between stormpath-express and express-stormpath, and which package do I want to use for (for a Node.js + Express.js + Stormpath) application?

推荐答案

Heyo-我是这些库的作者,所以让我帮助澄清一下事情.

Heyo -- I'm the author of these libraries, so let me help clarify things.

您要使用的库(不会失败!)是:express-stormpath: https://github.com/stormpath/express-stormpath

The library you want to use (without fail!) is this: express-stormpath: https://github.com/stormpath/express-stormpath

github仓库被命名为"stormpath-express"(由于公司命名约定),但是该库被称为"express-stormpath",并且它是您要使用的库.

The github repo is named 'stormpath-express' (due to a company naming convention), but the library is called 'express-stormpath', and it is the one you want to use.

我们刚刚发布了该库的新版本,该库支持所有内容-包括angular.因此,您现在就想使用该库,并在将来使用=)

We just made a new release of this library which supports EVERYTHING -- angular included. So you'll want to use this library now, and for the future =)

这篇关于我想使用Stormpath,Express.js和Node.js.我要使用stormpath-express还是express-stormpath?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆