Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 721 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 721 Bytes

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