I’m not sure why I didn’t post about this in 2016, when I made it, since I did post about two other packages I published on npm that one time. This one’s a small Browserify plugin to require() files as UTF-8 strings, rather than as javascript code. There are a few alternatives out there, particularly stringify, but for my use case at that moment I needed something more versatile than just selecting based on extension. My implementation is simple and works, using glob patterns for selection. I certainly could have chosen a better name for it, though…

See require-textify‘s Github repository.

Comment.