Skip to content

bmeck/resource-shim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resource-shim

resource shim for node environments without the resource loader apis

require.resourceExists

require.resourceExistsSync

checks if a resource appears to exist.

require.listResource

require.listResourceSync

makes an array of all the resources contained in this resource.

require.readResource

require.readResourceSync

reads all of the contents of the resource into a buffer, or string if encoding is provided in the opts.

require.createReadStream

creates a readable stream from a resource

About

resource shim for node environments without the resource loader apis

Resources

License

Stars

Watchers

Forks

Packages

No packages published