About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
ulid
samual.uk
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
[READ-ONLY] Mirror of
https://github.com/samualtnorman/ulid
. Make and decode ULIDs.
www.npmjs.com/package/tiny-ulid
ulild
+1 more
ulild
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Commits on
main
downgrade `@samual/types` to functionally equivalent but more used version
samual.uk
·
9mo ago
b429071b
Copied
Failed
Copy SHA
samual.uk
b429071b
Copied
Failed
Copy SHA
downgrade `@samual/types` to functionally equivalent but more used version
9mo ago
switch to using `oxc-transform` for generating `.d.ts` files this means turning `isolatedDeclarations` on
samual.uk
·
9mo ago
0579a3e7
Copied
Failed
Copy SHA
samual.uk
0579a3e7
Copied
Failed
Copy SHA
switch to using `oxc-transform` for generating `.d.ts` files this means turning `isolatedDeclarations` on
9mo ago
update dependencies
samual.uk
·
9mo ago
90d5d0d2
Copied
Failed
Copy SHA
samual.uk
90d5d0d2
Copied
Failed
Copy SHA
update dependencies
9mo ago
remove `@samual/lib`
samual.uk
·
9mo ago
56c333a4
Copied
Failed
Copy SHA
samual.uk
56c333a4
Copied
Failed
Copy SHA
remove `@samual/lib`
9mo ago
Update publish.yml
samual.uk
·
9mo ago
abe3adfa
Copied
Failed
Copy SHA
samual.uk
abe3adfa
Copied
Failed
Copy SHA
Update publish.yml
9mo ago
rewrite `makeUlid()` again to improve speed and size
samual.uk
·
1y ago
595d07a7
Copied
Failed
Copy SHA
samual.uk
595d07a7
Copied
Failed
Copy SHA
rewrite `makeUlid()` again to improve speed and size
1y ago
alias `Uint8Array` so it minimises better
samual.uk
·
1y ago
bd72f3db
Copied
Failed
Copy SHA
samual.uk
bd72f3db
Copied
Failed
Copy SHA
alias `Uint8Array` so it minimises better
1y ago
update previous version of this package comparing against
samual.uk
·
1y ago
6534786a
Copied
Failed
Copy SHA
samual.uk
6534786a
Copied
Failed
Copy SHA
update previous version of this package comparing against
1y ago
improve performance of `makeUlid()` turning a `UlidBuffer` into a string is now a seperate function `makeUlid()` now internally uses `UlidBytes` a faster method of setting this `UlidBytes`'s time is now used and that strategy is a new function called `setUlidBytesTime()` there's another new function called `setUlidBytesRandom()` which uses a slightly optimised version of what is used in `makeUlidBuffer()` which does still exist for now
samual.uk
·
1y ago
209ddfe0
Copied
Failed
Copy SHA
samual.uk
209ddfe0
Copied
Failed
Copy SHA
improve performance of `makeUlid()` turning a `UlidBuffer` into a string is now a seperate function `makeUlid()` now internally uses `UlidBytes` a faster method of setting this `UlidBytes`'s time is now used and that strategy is a new function called `setUlidBytesTime()` there's another new function called `setUlidBytesRandom()` which uses a slightly optimised version of what is used in `makeUlidBuffer()` which does still exist for now
1y ago
Revert "enable allowImportingTsExtensions in tsconfig and make changes to imports to allow Node.js to directly execute source
code"
code"
samual.uk
·
1y ago
bb9a86dc
Copied
Failed
Copy SHA
samual.uk
bb9a86dc
Copied
Failed
Copy SHA
Revert "enable allowImportingTsExtensions in tsconfig and make changes to imports to allow Node.js to directly execute source code"
1y ago
`as any` away silly type errors
samual.uk
·
1y ago
b67cf275
Copied
Failed
Copy SHA
samual.uk
b67cf275
Copied
Failed
Copy SHA
`as any` away silly type errors
1y ago
put the "never apples to apples" message back
samual.uk
·
1y ago
cbec8570
Copied
Failed
Copy SHA
samual.uk
cbec8570
Copied
Failed
Copy SHA
put the "never apples to apples" message back
1y ago
clarify (in JavaScript)
samual.uk
·
1y ago
8c6e8f42
Copied
Failed
Copy SHA
samual.uk
8c6e8f42
Copied
Failed
Copy SHA
clarify (in JavaScript)
1y ago
fix readme
samual.uk
·
1y ago
8ea97170
Copied
Failed
Copy SHA
samual.uk
8ea97170
Copied
Failed
Copy SHA
fix readme
1y ago
update readme
samual.uk
·
1y ago
378d33ad
Copied
Failed
Copy SHA
samual.uk
378d33ad
Copied
Failed
Copy SHA
update readme
1y ago
add comment
samual.uk
·
1y ago
004e3476
Copied
Failed
Copy SHA
samual.uk
004e3476
Copied
Failed
Copy SHA
add comment
1y ago
monotonic: reimplement makeUlidBuffer() and modify makeUlid() so they can carry on from where each other left off
samual.uk
·
1y ago
6256c489
Copied
Failed
Copy SHA
samual.uk
6256c489
Copied
Failed
Copy SHA
monotonic: reimplement makeUlidBuffer() and modify makeUlid() so they can carry on from where each other left off
1y ago
rewrite cloneUlidBuffer() to improve its performance and benchmark against the old version
samual.uk
·
1y ago
419208a6
Copied
Failed
Copy SHA
samual.uk
419208a6
Copied
Failed
Copy SHA
rewrite cloneUlidBuffer() to improve its performance and benchmark against the old version
1y ago
rewrite incrementUlidBuffer() to improve its performance and benchmark against the old version
samual.uk
·
1y ago
e9bc614b
Copied
Failed
Copy SHA
samual.uk
e9bc614b
Copied
Failed
Copy SHA
rewrite incrementUlidBuffer() to improve its performance and benchmark against the old version
1y ago
experiment with adding `UlidBytes` and some helpers for it
samual.uk
·
1y ago
c875bd0f
Copied
Failed
Copy SHA
samual.uk
c875bd0f
Copied
Failed
Copy SHA
experiment with adding `UlidBytes` and some helpers for it
1y ago
fix timeToUlidString() incorrectly rejecting dates with more than 45 bits, the real limit is 48
samual.uk
·
1y ago
6ae072bd
Copied
Failed
Copy SHA
samual.uk
6ae072bd
Copied
Failed
Copy SHA
fix timeToUlidString() incorrectly rejecting dates with more than 45 bits, the real limit is 48
1y ago
enable allowImportingTsExtensions in tsconfig and make changes to imports to allow Node.js to directly execute source code
samual.uk
·
1y ago
2a63f6e0
Copied
Failed
Copy SHA
samual.uk
2a63f6e0
Copied
Failed
Copy SHA
enable allowImportingTsExtensions in tsconfig and make changes to imports to allow Node.js to directly execute source code
1y ago
update dependencies
samual.uk
·
1y ago
49fa6cc1
Copied
Failed
Copy SHA
samual.uk
49fa6cc1
Copied
Failed
Copy SHA
update dependencies
1y ago
replace various old versions of this package with the latest JSR published one
samual.uk
·
1y ago
09327dde
Copied
Failed
Copy SHA
samual.uk
09327dde
Copied
Failed
Copy SHA
replace various old versions of this package with the latest JSR published one
1y ago
experiment with `.ts` script using `env -S node --experimental-strip-types`
samual.uk
·
1y ago
a2f5883e
Copied
Failed
Copy SHA
samual.uk
a2f5883e
Copied
Failed
Copy SHA
experiment with `.ts` script using `env -S node --experimental-strip-types`
1y ago
remove `allowImportingTsExtensions` to get the JSR build working again
samual.uk
·
1y ago
6a3cb319
Copied
Failed
Copy SHA
samual.uk
6a3cb319
Copied
Failed
Copy SHA
remove `allowImportingTsExtensions` to get the JSR build working again
1y ago
benchmark against older versions of this package
samual.uk
·
1y ago
198ee5f8
Copied
Failed
Copy SHA
samual.uk
198ee5f8
Copied
Failed
Copy SHA
benchmark against older versions of this package
1y ago
rewrite monotonic ULID function from scratch its design is inspired by @tauksun's `ulid-generator` it works by avoiding `UlidBuffer`s and instead working on a `Uint8Array` that is directly `TextEncoder#decode()`d into the ULID string
samual.uk
·
1y ago
b82989a3
Copied
Failed
Copy SHA
samual.uk
b82989a3
Copied
Failed
Copy SHA
rewrite monotonic ULID function from scratch its design is inspired by @tauksun's `ulid-generator` it works by avoiding `UlidBuffer`s and instead working on a `Uint8Array` that is directly `TextEncoder#decode()`d into the ULID string
1y ago
.
samual.uk
·
1y ago
490bdca3
Copied
Failed
Copy SHA
samual.uk
490bdca3
Copied
Failed
Copy SHA
.
1y ago
whitespace
samual.uk
·
1y ago
73dd2c03
Copied
Failed
Copy SHA
samual.uk
73dd2c03
Copied
Failed
Copy SHA
whitespace
1y ago
it turns out `ulid-workers` has monotonic on by default so it had an unfair advantage in the benchmarks woops
samual.uk
·
1y ago
39cb5129
Copied
Failed
Copy SHA
samual.uk
39cb5129
Copied
Failed
Copy SHA
it turns out `ulid-workers` has monotonic on by default so it had an unfair advantage in the benchmarks woops
1y ago
add seperate functions for stringifying the time and random parts of a `UlidBuffer` my thinking is that I can improve monotonic performance by reusing the stringified time when incrementing
samual.uk
·
1y ago
bb0c2bcf
Copied
Failed
Copy SHA
samual.uk
bb0c2bcf
Copied
Failed
Copy SHA
add seperate functions for stringifying the time and random parts of a `UlidBuffer` my thinking is that I can improve monotonic performance by reusing the stringified time when incrementing
1y ago
improve monotonic performance a bit went from 4.53x slower than `ulid-generator` to 2.26x slower still not caught up yet though
samual.uk
·
1y ago
e37ec730
Copied
Failed
Copy SHA
samual.uk
e37ec730
Copied
Failed
Copy SHA
improve monotonic performance a bit went from 4.53x slower than `ulid-generator` to 2.26x slower still not caught up yet though
1y ago
add profiling monotonic
samual.uk
·
1y ago
c97cdff2
Copied
Failed
Copy SHA
samual.uk
c97cdff2
Copied
Failed
Copy SHA
add profiling monotonic
1y ago
remove `isolatedDeclarations` since its no longer needed as we're back to publishing `.d.ts` files so "slow types" is no longer a thing
samual.uk
·
1y ago
65ca6f53
Copied
Failed
Copy SHA
samual.uk
65ca6f53
Copied
Failed
Copy SHA
remove `isolatedDeclarations` since its no longer needed as we're back to publishing `.d.ts` files so "slow types" is no longer a thing
1y ago
switch to importing with `.ts` extensions
samual.uk
·
1y ago
e85ef4b7
Copied
Failed
Copy SHA
samual.uk
e85ef4b7
Copied
Failed
Copy SHA
switch to importing with `.ts` extensions
1y ago
improve performance further by reusing internal `UlidBuffer` when no `UlidBuffer` is given to `makeUlid()` we are now the fastest ULID generator
samual.uk
·
1y ago
5ba32b88
Copied
Failed
Copy SHA
samual.uk
5ba32b88
Copied
Failed
Copy SHA
improve performance further by reusing internal `UlidBuffer` when no `UlidBuffer` is given to `makeUlid()` we are now the fastest ULID generator
1y ago
improve performance by calling `crypto.getRandomValues()` less often by using a pool this makes this package only 1.66x slower than `ulid-workers` versus the previous 4.74x it looks like this might have hurt the monotonic module's performance though
samual.uk
·
1y ago
695a3ca4
Copied
Failed
Copy SHA
samual.uk
695a3ca4
Copied
Failed
Copy SHA
improve performance by calling `crypto.getRandomValues()` less often by using a pool this makes this package only 1.66x slower than `ulid-workers` versus the previous 4.74x it looks like this might have hurt the monotonic module's performance though
1y ago
add profiling
samual.uk
·
1y ago
563288f2
Copied
Failed
Copy SHA
samual.uk
563288f2
Copied
Failed
Copy SHA
add profiling
1y ago
add benchmarks
samual.uk
·
1y ago
5c4096cc
Copied
Failed
Copy SHA
samual.uk
5c4096cc
Copied
Failed
Copy SHA
add benchmarks
1y ago
fix `npm.sh` still trying to run `rollup.config.js`
samual.uk
·
1y ago
daac7f8d
Copied
Failed
Copy SHA
samual.uk
daac7f8d
Copied
Failed
Copy SHA
fix `npm.sh` still trying to run `rollup.config.js`
1y ago
fix type error in `rolldown.config.js` by updating to latest version of `@samual/rolldown-config`
samual.uk
·
1y ago
7d08b6cb
Copied
Failed
Copy SHA
samual.uk
7d08b6cb
Copied
Failed
Copy SHA
fix type error in `rolldown.config.js` by updating to latest version of `@samual/rolldown-config`
1y ago
experiment switching to Rolldown
samual.uk
·
1y ago
e5843e43
Copied
Failed
Copy SHA
samual.uk
e5843e43
Copied
Failed
Copy SHA
experiment switching to Rolldown
1y ago
fix checking last character of base64 in `from-base64` disallowing `w` rather than allowing it
samual.uk
·
1y ago
2fb35e8c
Copied
Failed
Copy SHA
samual.uk
2fb35e8c
Copied
Failed
Copy SHA
fix checking last character of base64 in `from-base64` disallowing `w` rather than allowing it
1y ago
get command to catch errors and print them nicer add 2 more subcommands `from-hex` and `from-base64` no longer throw error when passing in invalid ULID
samual.uk
·
1y ago
821ed652
Copied
Failed
Copy SHA
samual.uk
821ed652
Copied
Failed
Copy SHA
get command to catch errors and print them nicer add 2 more subcommands `from-hex` and `from-base64` no longer throw error when passing in invalid ULID
1y ago
set target and lib to es2023
samual.uk
·
1y ago
e4eb595e
Copied
Failed
Copy SHA
samual.uk
e4eb595e
Copied
Failed
Copy SHA
set target and lib to es2023
1y ago
0.1.1
samual.uk
·
1y ago
v0.1.1
d8a1bbd7
Copied
Failed
Copy SHA
samual.uk
d8a1bbd7
Copied
Failed
Copy SHA
0.1.1
v0.1.1
1y ago
update to latest dev version of `@samual/rollup-config` to fix `@__NO_SIDE_EFFECTS__` comments being on functions that shouldn't have it it also removes it from all functions but that's less of a problem
samual.uk
·
1y ago
045ac16d
Copied
Failed
Copy SHA
samual.uk
045ac16d
Copied
Failed
Copy SHA
update to latest dev version of `@samual/rollup-config` to fix `@__NO_SIDE_EFFECTS__` comments being on functions that shouldn't have it it also removes it from all functions but that's less of a problem
1y ago
0.1.0
samual.uk
·
1y ago
v0.1.0
2a78a45d
Copied
Failed
Copy SHA
samual.uk
2a78a45d
Copied
Failed
Copy SHA
0.1.0
v0.1.0
1y ago
regenerate readme
samual.uk
·
1y ago
24172ab5
Copied
Failed
Copy SHA
samual.uk
24172ab5
Copied
Failed
Copy SHA
regenerate readme
1y ago
add link to where docs will be to readme
samual.uk
·
1y ago
5f201eb8
Copied
Failed
Copy SHA
samual.uk
5f201eb8
Copied
Failed
Copy SHA
add link to where docs will be to readme
1y ago
fix readme example
samual.uk
·
1y ago
5e6b7f17
Copied
Failed
Copy SHA
samual.uk
5e6b7f17
Copied
Failed
Copy SHA
fix readme example
1y ago
docs
samual.uk
·
1y ago
20bdfe44
Copied
Failed
Copy SHA
samual.uk
20bdfe44
Copied
Failed
Copy SHA
docs
1y ago
docs
samual.uk
·
1y ago
c02ebacf
Copied
Failed
Copy SHA
samual.uk
c02ebacf
Copied
Failed
Copy SHA
docs
1y ago
fix failing jsr publish by removing `.ts` from import
samual.uk
·
1y ago
a2d67395
Copied
Failed
Copy SHA
samual.uk
a2d67395
Copied
Failed
Copy SHA
fix failing jsr publish by removing `.ts` from import
1y ago
publish `.js` and `.d.ts` files instead of the raw `.ts` to try and get around JSR's generating broken `.d.ts` files
samual.uk
·
1y ago
7a2a5003
Copied
Failed
Copy SHA
samual.uk
7a2a5003
Copied
Failed
Copy SHA
publish `.js` and `.d.ts` files instead of the raw `.ts` to try and get around JSR's generating broken `.d.ts` files
1y ago
improve command complain when specifying same option twice remove some jank around showing `FATAL` message after `console.log()`ing add `to-hex` and `to-base64` subcommands
samual.uk
·
1y ago
905d76d4
Copied
Failed
Copy SHA
samual.uk
905d76d4
Copied
Failed
Copy SHA
improve command complain when specifying same option twice remove some jank around showing `FATAL` message after `console.log()`ing add `to-hex` and `to-base64` subcommands
1y ago
minor change to readme
samual.uk
·
1y ago
2824b2de
Copied
Failed
Copy SHA
samual.uk
2824b2de
Copied
Failed
Copy SHA
minor change to readme
1y ago
update bundle size stats the old stats were different because they didn't include the comment on the first line from the readme once it goes through terser the comment is removed anyway so the minified and gzipped stats are no different except for **tiny-ulid** which had `buffer` renamed to `ulidBuffer` which did affect all 3 stats weirdly the gzipped size is now smaller, I assume this is because before only "`uffer`" was repeated whereas now "`Buffer`" is repeated more frequently
samual.uk
·
1y ago
3b3df85c
Copied
Failed
Copy SHA
samual.uk
3b3df85c
Copied
Failed
Copy SHA
update bundle size stats the old stats were different because they didn't include the comment on the first line from the readme once it goes through terser the comment is removed anyway so the minified and gzipped stats are no different except for **tiny-ulid** which had `buffer` renamed to `ulidBuffer` which did affect all 3 stats weirdly the gzipped size is now smaller, I assume this is because before only "`uffer`" was repeated whereas now "`Buffer`" is repeated more frequently
1y ago
fix `emit-package-json.js` overriding `exports` `package.json` field
samual.uk
·
1y ago
763ff962
Copied
Failed
Copy SHA
samual.uk
763ff962
Copied
Failed
Copy SHA
fix `emit-package-json.js` overriding `exports` `package.json` field
1y ago
Previous
1 / 2
1
2
Next