In the webjars-locator repo I've already asked for a require.js webjars loader webjars/webjars-locator#24.
In the meantime I'm thinking that it would make sense to extract webjars scanning and the require.js webjars loader into its own module/artifact so that this can be reused by different projects. This would reduce code duplication, things wouldn't be reinvented again and again.
I'm asking here because I'd think that the mentioned functionality would be extracted from webjars-play.
What do you think?