# 2.8.1

# Installation

You can install this specific version of Crayons using crayons@2.8.1

# Getting Started

# Usage via CDN

From your app’s root html file add the following scripts:

<script
  type="module"
  src="https://cdn.jsdelivr.net/npm/@freshworks/crayons@2.8.1/dist/crayons/crayons.esm.js"
  integrity="sha384-P+5hth8hVL9HeYl8MsrQb6IKDiocPQR0/h7KeWuZCmqNA6lAeSyg0c6V/ZC33W/V"
></script>

<script
  nomodule
  src="https://cdn.jsdelivr.net/npm/@freshworks/crayons@2.8.1/dist/crayons/crayons.js"
  integrity="sha384-xE3AMjbHPPYJqqo8azAPrQzVPy78gtfUONLXHpRli9/1N4EyBfvnBd8ojpM+OAI/"
></script>

# Usage via Node Modules

  • Install the package
  npm install @freshworks/crayons@2.8.1 --save
  • Put a script tag similar to this
<script src="node_modules/@freshworks/crayons/dist/crayons/crayons.js"></script>

or below to load esm module

<script
  type="module"
  src="node_modules/@freshworks/crayons/dist/crayons/crayons.esm.js"
></script>

Documentation of all crayons versions can be found here .