# require-string **Repository Path**: mirrors_TooTallNate/require-string ## Basic Information - **Project Name**: require-string - **Description**: Turns an arbitrary String into a CommonJS compatible module - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # require-string Turns an arbitrary String into a CommonJS compatible module. So this: ``` css .wat { color: red; } div i { color: blue; } ``` Turns into this: ``` js module.exports = function(){ return ".wat {\n color: red;\n}\n\ndiv i {\n color: blue;\n}\n"; }; ``` ## Installation Install with [component(1)](http://component.io): $ component install TooTallNate/require-string ## API ### requireString(String str) → String ## License MIT