Table of Contents

About

Javascript - Script in the node engine.

Management

Location

Javascript file are generally in the src, lib, or dist directory

Argument Parser

  • commander

Execution

Node

To run the below script with the node engine:

console('Hello World!');
  • At the command line
node HelloWorld.js
Hello World!

Browser

<script src="https://embed.runkit.com" data-element-id="my-element"></script>

<!-- anywhere else on your page -->
<div id="my-element">// GeoJSON!
    var getJSON = require("async-get-json");
    await getJSON("https://storage.googleapis.com/maps-devrel/google.json");
</div>