require any file as a string.
npm i rawify
Then, require stuff:
var anythingText = require('anything.txt');
var css = require('styles.css');
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more