diff --git a/doc/javascript-target.md b/doc/javascript-target.md index e00f3b78d..56e8ac4d8 100644 --- a/doc/javascript-target.md +++ b/doc/javascript-target.md @@ -15,7 +15,7 @@ The tests were conducted using Selenium. No issue was found, so you should find ## Is NodeJS supported? -The runtime has also been extensively tested against Node.js 0.10.33. No issue was found. +The runtime has also been extensively tested against Node.js 0.12.7. No issue was found. ## How to create a JavaScript lexer or parser? @@ -31,7 +31,9 @@ For a full list of antlr4 tool options, please visit the [tool documentation pag Once you've generated the lexer and/or parser code, you need to download the runtime. -The JavaScript runtime is available from the ANTLR web site [download section](http://www.antlr.org/download/index.html). The runtime is provided in the form of source code, so no additional installation is required. +The JavaScript runtime is [available from npm](https://www.npmjs.com/package/antlr4). + +If you can't use npm, the JavaScript runtime is also available from the ANTLR web site [download section](http://www.antlr.org/download/index.html). The runtime is provided in the form of source code, so no additional installation is required. We will not document here how to refer to the runtime from your project, since this would differ a lot depending on your project type and IDE. @@ -47,11 +49,28 @@ However, it would be a bit of a problem when it comes to get it into a browser.