Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Initial commit. #1
@dkorolev Sure, you can merge.
I don't think it's "the node way", it's basic OOP plus limiting the number of possible states and transitions. RAII is C++ way, btw.
From the functionality standpoint, this may have been shaped as an express middleware (createMiddleware function which returns a (req,res,next) function).