Skip to content

Installation

Package Manager

bash
pnpm add js-cool
bash
npm install js-cool
bash
yarn add js-cool
bash
bun add js-cool

CDN

You can also use js-cool directly via CDN:

html
<script src="https://cdn.jsdelivr.net/npm/js-cool/dist/index.global.js"></script>
<script>
  const { camel2Dash, unique } = window.JsCool
</script>
html
<script src="https://unpkg.com/js-cool/dist/index.global.js"></script>
<script>
  const { camel2Dash, unique } = window.JsCool

Verify Installation

js
import { version } from 'js-cool'

console.log('js-cool version:', version)

Released under the MIT License.