glitch-assets
v1.0.0
Published
Helper to read your .glitch-assets file on Glitch.
Downloads
9
Maintainers
Readme
glitch-assets
Helper to read your .glitch-assets file on Glitch.
Synopsis
const glitchAssets = require('glitch-assets')
// callbacks
glitchAssets.load((err, images) => {
console.log(images)
})
// promises
glitchAssets.load()
.then(images => {
console.log(images)
})
In both cases, images
would contain the following (from the default starter project):
Author
Andrew Chilton for GlitchApps.
License
ISC.
(Ends)