Skip to content

runtimejs/runtime-module-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

runtime-module-loader

Node.js compatible module loader for runtime.js

Build Status

Features:

  • Node.js module resolution algorithm
  • package.json runtime field to be able to override entry point for runtime.js, similar to browser field
  • runtime.js can't handle native *.node modules, throws an error for those

USAGE

var Loader = require('runtime-module-loader');
var loader = new Loader(fileExistsFunction, readFileFunction, runScriptFunction);
loader.require('./index');

##LICENSE

Apache License, Version 2.0

About

Node.js compatible module loader for runtime.js

Resources

Stars

Watchers

Forks

Packages

No packages published