Version {{ pkg.version }}

{% link url, pkg.name%}

{{ pkg.description }}

npm install:

{% npmInstallCmd pkg %}

Module Import:

{% if pkg.esri.keyExports %} {% highlight "js" %} import { {%- for name in pkg.esri.keyExports %} {{name}}{{"," if not loop.last}} {%- endfor %} } from "{{ pkg.name }}"; {% endhighlight %} {% else %} {% highlight "js" %} import { {%- for declaration in declarations -%} {%- if declaration.kindString === "Function" or declaration.kindString === "Class" %} {{declaration.name}}{{"," if not loop.last}}{%- endif -%} {% endfor %} } from "{{ pkg.name }}"; {% endhighlight %} {% endif %}

CDN:

{% scriptTag pkg %}

CDN with SRI:

{% scriptTagSRI pkg %}