#identifier #cli #timestamp #uuid #front-end #scru128

app scru128-cli

CLI frontend for the scru128 crate, a library for generating and parsing SCRU128 identifiers

1 unstable release

0.3.0 Nov 12, 2024
0.2.0 Nov 12, 2024

#654 in Command line utilities

49 downloads per month

Apache-2.0

5KB

scru128-cli

CLI frontend for lib scru128

Usage

$ scru128
0390WDHD7NYLH9EFT2DPNVMD4

$ scru128 parse 0390WDHD7NYLH9EFT2DPNVMD4
1677003390.222

# parse can also read from stdin
printf 0390WDHD7NYLH9EFT2DPNVMD4 | scru128 parse
1677003390.222

Pairs well with

$ printf 0390WDHD7NYLH9EFT2DPNVMD4 | scru128 parse | xargs dtg -l
Tue 21 Feb 2023 13:16:30 EST

Similar

Dependencies

~1.2–1.8MB
~34K SLoC