Daily Shaarli

All links of one day in a single page.

November 14, 2022

Stay in tune with your API - Treblle

Fast documentation generation for a backend in PHP

Note: vue useId composable
import { v4 as uuidv4 } from 'uuid'

export const useId = () => {
  const prefix = uuidv4()

  const $id = (name: string) => `${prefix}-${name}`

  return { $id }
}

It can work with the crypto module too.