express-once
Create express middleware that just runs once.
Ever wish you could make a function that would only ever be called once per request? Well now you can with once
! Simple wrap your function in once
and add as many times as you like to your app with the satisfcation that it will only ever be invoked... once.
var express = once = ; var app = ; // Ensure this function is only called oncevar hello = ; // Try to call it many times... but it won't!app;