Ballboy
Simple file loader.
You don't need define protocol of loadable file – just say where file located and Ballboy give it to you.
Supported protocols: HTTP
, HTTPS
, File path
, file://
.
Example:
const ballboy = ;const executeConfig = console; ;;;
You can pass http config for authentication, headers e.t.c.
ballboyHTTPConfig = headers: 'Authentication': 'Bearer token' 'X-Custom-Header': 'foo'