You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam a23854e3ff feat: new hook type: `response`
Used in authentication middleware. Instead of firing an action
hook, it now fires a response hook.

Response hooks are invoked serially, and if headers are sent from
one of the hook listeners, all subsequent hook methods are not
called.

Response hooks should only be used in situations where res.send
(or other like methods) are invoked. Existing plugin hooks that
pass in res purely for data retrieval purposes have not changed).

fixes nodebb/nodebb-plugin-write-api#101
7 years ago
..
data.js style(eslint): match operator-linebreak preferences 7 years ago
hooks.js feat: new hook type: `response` 7 years ago
index.js change deprecated message 7 years ago
install.js Support for using yarn instead of npm, include unread counts on cold load (#6179) 8 years ago
load.js refactor: use loash when possible (#7230) 7 years ago