@compai/util

Utilities for Components AI.

Usage no npm install needed!

<script type="module">
  import compaiUtil from 'https://cdn.skypack.dev/@compai/util';
</script>

README

@compai/util

Utilities for Components AI.

This is primarily intended to be used internally by Components AI, so use this with caution and expect breaking changes.

Installation

yarn add @compai/util

Usage

hash

import { hash } from '@compai/util'

console.log(hash('Hello, world!'))

uniq

import { uniq } from '@compai/util'

console.log(uniq(['a', 'a', 'b']))

OSS by Components AI.