A Tern plugin adding support for phaser.

Usage no npm install needed!

<script type="module">
  import ternPhaser from 'https://cdn.skypack.dev/tern-phaser';



Build Status NPM version

tern-phaser is a plugin which adds support for Phaser to the JavaScript code intelligence system Tern.


You can play with online demo which uses CodeMirror ((inside Web Browser).

Here a screenshot with completion with CodeMorror Phaser completion :

CodeMirror & TernPhaser

Here a screenshot with completion with Eclipse IDE Phaser completion :

Eclipse & TernPhaser

If you wish to use Eclipse as IDE, see Eclipse support for Phaser.


The basic structure of the project is given in the following way:

  • phaser.js the tern plugin.
  • demos/ demos with Phaser tern plugin which use CodeMirror.
  • test test of the tern plugin.