Sha256: e8419afbe0826c62172705f278689d1ec41a71449ad4197e881371bdb9e1bf2a

Contents?: true

Size: 444 Bytes

Versions: 5

Compression:

Stored size: 444 Bytes

Contents

module.exports = {
    encodeBase64: function encodeBase64(str) {
        return new Buffer(str).toString('base64');
    },
    mimeLookup: function (filename) {
        return require('mime').lookup(filename);
    },
    charsetLookup: function (mime) {
        return require('mime').charsets.lookup(mime);
    },
    getSourceMapGenerator: function getSourceMapGenerator() {
        return require("source-map").SourceMapGenerator;
    }
};

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
ilog-0.4.1 node_modules/less/lib/less-node/environment.js
ilog-0.4.0 node_modules/less/lib/less-node/environment.js
ilog-0.3.3 node_modules/less/lib/less-node/environment.js
less-execjs-2.6.0.4 lib/less/js/less/lib/less-node/environment.js
less-execjs-2.6.0.3 lib/less/js/less/lib/less-node/environment.js