# 3.4.1
# Installation
You can install this specific version of Crayons
using crayons@3.4.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@3.4.1/dist/crayons/crayons.esm.js"
integrity="sha384-lveftnf7ljnTQoX46sgnK43k8FmB4Xw9WFPYIM31qOn4GFH7NN0AQsljZDzi0qDD"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@freshworks/crayons@3.4.1/dist/crayons/crayons.js"
integrity="sha384-wYwD5uzMmKzrpggHEwT/mZfhWohNk1R6RMsiBCld2ISUowSB+yl58GD0PqxjHYzR"
></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@freshworks/crayons@3.4.1/css/crayons-min.css"
integrity="sha384-HyWCRhV9hmJj2588Nr3ulcHZDnZFShwdEhG82fjR69h1TWcYbdTZgmX0jqV+F968"
crossorigin="anonymous"
/>
# Usage via Node Modules
- Install the package
npm install @freshworks/crayons@3.4.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 .
Load css utils
<link
rel="stylesheet"
href="node_modules/@freshworks/crayons/css/crayons-min.css"
/>