Determine and validate snowflake IDs
yarn add is-snowflake
import { isSnowflake } from 'is-snowflake';
assert(isSnowflake('1706300963561668608') === true);
Twitter has a decent blog about it: https://blog.twitter.com/engineering/en_us/a/2010/announcing-snowflake