node package manager

rawify

Rawify

require any file as a string.

Usage

npm i rawify

Then, require stuff:

// Plaintext
var anythingText = require('anything.txt');

// Css
var css = require('styles.css');