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)

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i glitch-assets

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • chilts