Node - script (Javascript)


Javascript - Script in the node engine.



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

Argument Parser

  • commander



To run the below script with the node engine:

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


<script src="" data-element-id="my-element"></script>

<!-- anywhere else on your page -->
<div id="my-element">// GeoJSON!
    var getJSON = require("async-get-json");
    await getJSON("");

Discover More
Javascript - Script

A Javascript script is script file with a js extension. A browser script is a run that is run by the browser where Javascript is: in a page via the script element: in a browser extension created...

Node is a javascript engine that: add several features such as io (access the file system), network,... that are not accessible in a web browser) miss the browser web api function (no dom,...) In...

Share this page:
Follow us:
Task Runner