# 4.1.0-beta.6

# Installation

You can install this specific version of Crayons using crayons@4.1.0-beta.6

# 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@4.1.0-beta.6/dist/crayons/crayons.esm.js"
  integrity="sha384-hhiAZpjSq5gacGklJCoRSCiQq8Q5MUM+zUPQJv9DLLJkiE0er+734aRHbs2X+lLk"
></script>

<script
  nomodule
  src="https://cdn.jsdelivr.net/npm/@freshworks/crayons@4.1.0-beta.6/dist/crayons/crayons.js"
  integrity="sha384-85zHx+5b2VeA/5ARKJUMcWDKgFAux8jOTBGraoqMX/mDp1lcjzzBs2mMydP4tixc"
></script>

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@freshworks/crayons@4.1.0-beta.6/css/crayons-min.css"
  integrity="sha384-2JySsb5Eao+jG3dXjFKgdlzxXI//dkSLNjC5KcA7Gcjs4Q9mOHISgrb6HZdAcSc0"
  crossorigin="anonymous"
/>

# Usage via Node Modules

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