# 2.3.1

# Installation

You can install this specific version of Crayons using crayons@2.3.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.3.1/dist/crayons/crayons.esm.js"
  integrity="sha384-FtSf1VV1QFeZ9z/FarJsVRIR9WEVUi+1UkDuwSQQ4aiegc+a68VacBBoC0CPiMCT"
></script>

<script
  nomodule
  src="https://cdn.jsdelivr.net/npm/@freshworks/crayons@2.3.1/dist/crayons/crayons.js"
  integrity="sha384-IoX+nCDmiFBd+ornEZyD0sPwxH3AwhuHIhyVr3rZyK6M4yN2yl1/6vntq1XzYIBE"
></script>

# Usage via Node Modules

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