# 2.1.1
# Installation
You can install this specific version of Crayons
using crayons@2.1.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.1.1/dist/crayons/crayons.esm.js"
integrity="sha384-TMRDMzwCnMpZht5dTKsGDthSOQwbBfx7UtgMtwghIK+HaiGlwEVTcwwIiYq7wVfE"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@freshworks/crayons@2.1.1/dist/crayons/crayons.js"
integrity="sha384-WTPt+xvCCEGNF5WKig2020LsWJEDtsm58KYOYeiRchY+LdDyf7jy3EX4upvHnnHU"
></script>
# Usage via Node Modules
- Install the package
npm install @freshworks/crayons@2.1.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 .