ExpressJs equivalent for Rails object_url

I'm currently converting my Rails application to ExpressJs. Then I stumbled upon this scenario where an object url is required.

Does express have this kind of helper?

Locomotive http://locomotivejs.org/guide/resources/ has some routing helpers that you could use.