Table of Contents

Node - script (Javascript)

About

Javascript - Script in the node engine.

Management

Location

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

Argument Parser

Execution

Node

To run the below script with the node engine:

console('Hello World!');
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>