Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

kylehg/ksuid.js

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ksuid.js

Universal JavaScript K-sortable UUIDs (KSUIDs)

NB: This is currently a personal-interest project and not meant for broader use, certainly not in a production environment.

TODO

  • basic KSUID, segment version
  • KSUID2 with ms precision
  • basic npm package setup
  • basic test setup
  • Framework for tests with browser (crypto) vs. browser (Math.random()) vs. Node
  • Test cases:
    • General sorting
  • Enhancements (with tests)
    • Bounds checking for date
    • Bounds checking for random part
    • Helpers (see ksuid for inspo)
      • Default string conversion
      • Default comparison
      • Init from strings
      • Init from Date + buffer
      • Init from pure buffer
  • Perf comparison with ksuid package for Node
  • GitHub/CI integration
  • v1

About

Universal JavaScript K-sortable UUIDs (KSUIDs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.