Miss any of our Open RFC calls?Watch the recordings here! »

glitch-assets

1.0.0 • Public • Published

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)

Install

npm i glitch-assets

DownloadsWeekly Downloads

4

Version

1.0.0

License

ISC

Last publish

Collaborators

  • avatar