2.3.1 • Published 8 years ago

derelict v2.3.1

Weekly downloads
7
License
ISC
Repository
github
Last release
8 years ago

Derelict

Derelict is an Express package that is painless to setup, and provides stateless JWT authentication and XSRF protection out of the box.

Updating 1.1 -> 2

Breaking Changes and new features, more detailed readme coming soon.

Updating 1.9 -> 1.10

1.10 changes the requirements for updateUser.

updateUser should now accept an object of query parameters, and an object of properties to update.

e.g:

updateUser({ email: 'some@email.com' }, { password: 'someNewPassword' });

Requirements

  1. Node V.6^
  2. Express
  3. Cookie Parser (or something similar)

For derelict to work, you will need to use cookie-parser on your express server to handle cookies.

Derelict makes uses cookies to send and store the JWT and XSRF tokens.

npm install --save cookie-parser

app.use(cookieParser());

Usage

Documentation

2.3.1

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.5

9 years ago

2.0.4

9 years ago

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.10.0

9 years ago

1.9.1

9 years ago

1.9.0

9 years ago

1.8.0

9 years ago

1.7.0

9 years ago

1.6.0

9 years ago

1.5.0

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.5

10 years ago

1.1.4

10 years ago

1.1.2

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago