Skip to content

LeoDog896/number_enum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

number_enum

numbers as enums!

To use, simply import the enum from the file:

import { Number } from "https://raw.githubusercontent.com/LeoDog896/number_enum/main/index.ts";

const num = Number.SIX_HUNDRED_TWELVE_THOUSAND_ONE_HUNDRED_SEVENTY_EIGHT // 612178

Note the library might be a bit big.