1.0.0 • Published 6 years ago

glitch-assets v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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)