RestAuth
A Rest client supporting authentication with JSON Web Token and cookies. Useful for testing authenticated REST API.
Install
$ npm install --save restauth
Usage
; let config = username:"alice" password:"password" url:"http://localhost:3000/api/"; let client = config;let resLogin = await client;;let me = await client;;
Test
$ npm test
License
MIT © Frederic Heem