# 3.0.0-beta.2

# Installation

You can install this specific version of Crayons using crayons@3.0.0-beta.2

# 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@3.0.0-beta.2/dist/crayons/crayons.esm.js"
  integrity="sha384-hv64bXDvj83QGHOKUsILzM1Ex4vHla5+x3xXvFa8i6udAmtRvra9SRi14/f16u0G"
></script>

<script
  nomodule
  src="https://cdn.jsdelivr.net/npm/@freshworks/crayons@3.0.0-beta.2/dist/crayons/crayons.js"
  integrity="sha384-dt3DkhBvs+O2uWbS7IyNE2t+fnr+AgnSlzOR2GGrH/i0vPqa4gZfl70jsEq7vzi/"
></script>

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@freshworks/crayons@3.0.0-beta.2/css/crayons-min.css"
  integrity="sha384-qHyV2WTmym1tmIAJ1Q2jyLnC2+3y+zv4TRjr+PCB7ncOXcYPbznPgxgV1ZWnayRX"
  crossorigin="anonymous"
/>

# Usage via Node Modules

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

Load css utils

<link
  rel="stylesheet"
  href="node_modules/@freshworks/crayons/css/crayons-min.css"
/>