better-require icon indicating copy to clipboard operation
better-require copied to clipboard

A possible solution to the deprecation of require.extensions

Open CamiloMM opened this issue 11 years ago • 2 comments

Since require.extensions is deprecated, you could add the option of:

var betterRequire = require('better-require')('json xml yaml');

You then could even do this (if it doesn't make you feel bad inside):

var require = require('better-require')('json xml yaml');

CamiloMM avatar Jun 10 '14 23:06 CamiloMM

@CamiloMM Good idea. I don't have time to maintain this project anymore unfortunately. Would you be interested to take over?

olalonde avatar Jan 14 '15 21:01 olalonde

@olalonde Sorry, I'm in the same "have to maintain less stuff" vibe :/

If only we had unlimited time in our hands, eh? :)

CamiloMM avatar Jan 15 '15 00:01 CamiloMM