ulid / javascript

Universally Unique Lexicographically Sortable Identifier
MIT License
3.04k stars 107 forks source link

dist _index.js#L59 #102

Open crotel opened 1 year ago

crotel commented 1 year ago

https://github.com/ulid/javascript/blob/a5831206a11636c94d4657b9e1a1354c529ee4e9/dist/index.js#L59

to

if (Number.isInteger(Number(now)) === false) { 

better for some situation like ulid("150000")?