JuanitoFatas / fast_uuid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastUuid

Generate, parse UUID faster. Supports UUID v4 and v7.

Installation

Add to Gemfile

$ bundle add fast_uuid

Or install by:

$ gem install fast_uuid

Usage

FastUUID.match?(uuid)
# => true

FastUUID.v4
# =>

FastUUID.v7
# =>

time = FastUUID.time(uuid)
# => 2022-09-21 20:49:07 +0900

time.class
# => Time

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the FastUuid project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

License:MIT License


Languages

Language:Ruby 86.9%Language:Rust 9.7%Language:Shell 3.3%