Skip to content

Prototyping a framework for JavaScript that works on the desktop

Notifications You must be signed in to change notification settings

frostney/asteria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteria

Prototyping framework for JavaScript, that works on the desktop

What does it do?

Asteria provides a framework and an IDE to rapidly prototype games.

Features

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)

Eeek! Why are there binaries and dynamic libaries in the repository?

Well, they are there so you can try it for yourself without needing to compile the source for yourself.

Used libraries

About

Prototyping a framework for JavaScript that works on the desktop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published