2

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.

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.

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?

Community
  • 1
  • 1
Christos Hayward
  • 5,777
  • 17
  • 58
  • 113

2 Answers2

4

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

The library you want to use (without fail!) is this: express-stormpath: https://github.com/stormpath/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.

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 =)

robertjd
  • 4,723
  • 1
  • 25
  • 29
rdegges
  • 32,786
  • 20
  • 85
  • 109
0

See the new configuration options here:

https://github.com/stormpath/express-stormpath/blob/master/lib/config.yml

robertjd
  • 4,723
  • 1
  • 25
  • 29
  • Please add a summary of what one might find if they followed the link. Welcome to Stack Overflow, recommended reading [ask] – Dan Beaulieu Sep 08 '15 at 23:55