Skip to content

Latest commit

 

History

History

ard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

SWR Audio Lab / ARD helpers

Common internal ARD tools like ID creation.

Install

Add the parent package to your dependencies:

yarn add @swrlab/utils

createHashedId - Convert a string to ARD's hash style

  • string (required) - value to encode

Import the library:

const ardTools = require('@swrlab/utils/packages/ard')

Then use the toolkit to convert a string:

const myString = 'my-string-to-encode'
const hashedString = ard.createHashedId(myString)
// 6a80b80f748c9b50