junaway / flexid Goto Github PK
View Code? Open in Web Editor NEWA fast, flexible, sortable uuid generator
License: MIT License
A fast, flexible, sortable uuid generator
License: MIT License
Hi, your approach on sortable id's looks very promising. Today I tried to implement it in an vite powered vue app, without success.
Polyfilling in vite should be possible though. I played with hints from vitejs/vite#3126 and https://stackoverflow.com/questions/69286329/polyfill-node-os-module-with-vite-rollup-js
but didn't succeed. The closest I could get was to "crypto_default.randomFillSync is not a function" after shiming Buffer and crypto.
So my hope is, that someone with a clear view may find the proper way out of that rabbit hole.
Hi,
Your project seems very promising !
How does your library behave in a browser context ?
My current project will need Universally-unique Lexicographic Identifiers AND to work equally on the client side (ideally in a service worker) or the server. I settled to ULIDx so far but you library may be a good challenger :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.