Skip to main content

Script Downloader

Deprecated

This node is deprecated and kept only so existing projects keep working. It is not offered in the node picker for new use.

Deprecated loader for external script URLs. Use project modules or a Function node injecting a script tag.

The legacy Script Downloader fetches the JavaScript files listed on its numbered inputs and fires loaded when they are available. Deprecated and hidden from the picker.

When to use it​

Do not use in new graphs — prefer bundled project modules; where a runtime script tag is unavoidable, inject it from a Function node and gate downstream work on its load event.

At a glance​

CategoryJavascript
Type nameScript Downloader
Available inbrowser
SSR compatibilityclient-only — Scripts are injected into the browser DOM; they load after hydration.
Provided bynoodl-viewer-react
Behaviour specnot written yet

Inputs​

Values​

NameTypeDefaultDescription
startLoadBooleantrueWhether the scripts are fetched as soon as the node appears, rather than waiting for Load

Signals​

NameTypeDefaultDescription
loadSignal—Fetches every script that is not already in the page

Outputs​

Signals​

NameTypeDefaultDescription
loadedSignal—Fires once every script has finished loading; a script that fails to load reports nothing and this never fires

Dynamic ports​

This node's port list changes at runtime (numbered-inputs); the tables above may be incomplete for a given instance.

Accepts an unbounded numbered series of inputs (see numberedInputs); ports are named "<base> <N>" counting from 0.

Ports at runtime​

Script-URL inputs are generated from the configured count (numbered-inputs mechanism).

Function, Script

Code export​

Does not export to React yet. A project that uses it exports with this node named in the export report.

Why: deliberately out of scope — the type is deprecated in the catalog, so nobody building today is offered one. A project that still holds one exports it as a named deferral, which is the right answer for a node its own editor has retired.

How export works shows what an export writes, with a worked example.

Generated

This page is generated from node-catalog-enriched.json, the node's spec in packages/nodegx-node-spec and the export ledger. Do not edit it by hand — run npm run docs:nodes to regenerate, and fix the source instead.