# 2.2.4

# Installation

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

# 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.2.4/dist/crayons/crayons.esm.js"
  integrity="sha384-+fwrkce4DrcGNrp1BpiMpUhMd6/Ns5/MrQADDW0ppBp7I2Zt7VAj3aSa12jvRc1j"
></script>

<script
  nomodule
  src="https://cdn.jsdelivr.net/npm/@freshworks/crayons@2.2.4/dist/crayons/crayons.js"
  integrity="sha384-WTPt+xvCCEGNF5WKig2020LsWJEDtsm58KYOYeiRchY+LdDyf7jy3EX4upvHnnHU"
></script>

# Usage via Node Modules

  • Install the package
  npm install @freshworks/crayons@2.2.4 --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 .