Prototyping framework for JavaScript, that works on the desktop
Asteria provides a framework and an IDE to rapidly prototype games.
Core:
- require function very similar to CommonJS (allows JSON reading and index.js in subfolders)
- Console object by Dmitry A. Soshnikov
- ES6 shim by Paul Miller
- JSON.stringify and JSON.parse provided through BESEN
Window:
- Window is the global object
- window.innerHeight
- window.innerWidth
- window.setTimeout (in progress)
- window.setInterval (in progress)
- window.requestAnimationFrame (in progress)
Document:
- document.addEventListener (in progress)
- document.getElementById (in progress)
Filesystem:
- Similar to Node.js fs Object
- All operations are done synchronously
- fs.fileExists: Checks if a file exists
- fs.dirExists: Checks if a directory exists
- fs.readFile: Reads a file (only text is supported)
- fs.writeFile: Writes a file (only text is supported)
Well, they are there so you can try it for yourself without needing to compile the source for yourself.
- Slightly modified version of BESEN (http://besen.sourceforge.net)
- ES6 shim