Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.16 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.16 KB

Thokk

Thokk Banner

Getting started

Use it in your code as such:

import { randomBytes } from 'crypto'
import { thokk } from 'thokk'

type Person = {
  id: string
  name: string
  age: number 
}

let kid: Person = {
  id: randomBytes(64).toString(),
  name: thokk(),
  age: Math.floor(Math.random() * (18 + 1))
}

let adult: Person = {
  id: randomBytes(64).toString(),
  name: thokk(),
  age: Math.floor(Math.random() * (80 - 18 + 1) + 18)
}

Acknowledgements

  1. Þökk - Wikimedia Commons, Public Domain Marked.
  2. SOV กลับบ้าน typeface by Worawut Thanawatanawich
  3. @iprg/docker-name-generator by @rajabzadehm43

License

This project is licensed under the terms of the MIT license.