sails-hook-dev-spirit
v1.0.2
Published
Hook for Sails.js full of development utilities.
Downloads
3
Maintainers
Readme
sails-hook-dev-spirit
A Sails hook that provides diagnostic / debugging information during development.
Based on sails-hook-dev
Note
The diagnostic routes exposed by this hook will work when your app is in development mode (i.e.
NODE_ENV
!= "production")
Install
In your Sails project:
npm install sails-hook-dev-spirit --save
Use
See all options
See all available routes
http://localhost:1337/dev/routes
See session of currently logged-in user
http://localhost:1337/dev/session
See actual versions of dependencies in node_modules
http://localhost:1337/dev/dependencies
See current memory usage
http://localhost:1337/dev/memory
License
MIT © 2015 Valery Barysok, Mike McNeil