Skip to content

Instantly share code, notes, and snippets.

@chrislaughlin
Created September 16, 2020 16:46
Show Gist options
  • Save chrislaughlin/d8736b5669a7e51c884575720aa650b8 to your computer and use it in GitHub Desktop.
Save chrislaughlin/d8736b5669a7e51c884575720aa650b8 to your computer and use it in GitHub Desktop.
(new TextEncoder().encode(pathData)).length
((new TextEncoder().encode(pathData)).length / 1474560).toFixed(2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment