Skip to content

Loads a node module from the web to store in the local FS so you can require it later.

License

Notifications You must be signed in to change notification settings

itaiche/Node-Module-Loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic File Loader

Gets a file from the Web dynamically and puts it in the filesystem for use as a Node module later on.

Overview

Sometimes you want static dependencies compiled with your code, and sometimes you want to load them dynamically. This is a Naive implementation of loading those files then returning them.

Testing your files

To test use the express server. This is the path supported:

http://localhost:9090/loadfile/{url}

{url} should be a uri encoded URL (you can use encodeURIComponent).

About

Loads a node module from the web to store in the local FS so you can require it later.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published