function run(opts) {
    throwIfRequiredOption(opts, 'src')

    // register `.ram` extension in nodejs modules
    Module._extensions[util.ext] = function(module, filename) {
        var content = fs.readFileSync(filename, 'utf8')
        var result = ram.compile(content, {
            filename: filename,
            format: 'cjs',
        })
        module._compile(result.js, filename)
    }

    Module.prototype.load = function load(filename) {
        var extension = path.extname(filename)
        this.filename = filename
        this.paths = Module._nodeModulePaths(path.dirname(filename))
        Module._extensions[extension](this, filename)
        return this.loaded = true
    }

    var src = opts['src']
    var absolute = path.resolve(process.cwd(), src)
    // globalize Ramda module to be used by loaded modules
    Object.assign(global, R)
    require(absolute)
}
function run(opts) {
    throwIfRequiredOption(opts, 'src')

    
    Module._extensions[util.ext] = function(module, filename) {
        var content = fs.readFileSync(filename, 'utf8')
        var result = ram.compile(content, {
            filename: filename,
            format: 'cjs',
        })
        module._compile(result.js, filename)
    }

    Module.prototype.load = function load(filename) {
        var extension = path.extname(filename)
        this.filename = filename
        this.paths = Module._nodeModulePaths(path.dirname(filename))
        Module._extensions[extension](this, filename)
        return this.loaded = true
    }

    var src = opts['src']
    var absolute = path.resolve(process.cwd(), src)
    
    Object.assign(global, R)
    require(absolute)
}
function run ( opts ) { throwIfRequiredOption ( opts , 'src' ) // register `.ram` extension in nodejs modules Module . _extensions [ util . ext ] = function ( module , filename ) { var content = fs . readFileSync ( filename , 'utf8' ) var result = ram . compile ( content , { filename : filename , format : 'cjs' , } ) module . _compile ( result . js , filename ) } Module . prototype . load = function load ( filename ) { var extension = path . extname ( filename ) this . filename = filename this . paths = Module . _nodeModulePaths ( path . dirname ( filename ) ) Module . _extensions [ extension ] ( this , filename ) return this . loaded = true } var src = opts [ 'src' ] var absolute = path . resolve ( process . cwd ( ) , src ) // globalize Ramda module to be used by loaded modules Object . assign ( global , R ) require ( absolute ) }
runs a .ram script
runs a . ram script