Skip to content
Less (CSS) code wrapper for SocketStream 0.3
Find file
Failed to load latest commit information.
lib Updates to fix #5, and pusb 0.1.3
.gitignore 0.1.1 Updates to fix #5, and pusb 0.1.3 Allow for prepended Less and thus JavaScript injection.

Less (CSS) wrapper for SocketStream 0.3

Allows you to use Less files (.less) in your SocketStream project.


Add ss-less to your application's package.json file and then add this line to app.js:


JavaScript variable injection

The ss-less wrapper allows you to inject JavaScript variables into your Less code via a prepended Less string of your own making. For example:

var ssLess = require('ss-less');
var assetsPath = '';
ssLess.prependLess('@assets-path: "' + assetsPath + '"');
Something went wrong with that request. Please try again.