Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

114 B
Raw Blame
export const toNumber = (value: unknown): number => {
  const num = Number(value)
  return isNaN(num) ? 0 : num
}