It would be just great to have a feature to determine a corridor width. I'm having in mind a game project that needs exactly that functionality. However, this is not supported by rot.js, at least not yet. I'm thinking about writing to author asking him to implement this feature.
On the other hand, I am thinking actively about some workaround. I don't dare to change the library itself, since it could easily break something...
For now, I am reflecting on a manner to implement a door functionality. It exists in rot.js: every room has info about its doors (coordinates of associated doors). I still haven't found a satisfactory way to translate it into the plugin. But I'm on my way
When I do this, I'll consider the plugin done and will ask for it to be transfered to the other part of the forum