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
lib
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/lib
. A collection of common utilities I need.
www.npmjs.com/package/@samual/lib
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
generator-lock
add `createGeneratorLock()`
Samual Norman
·
3y ago
b2add5a2
Copied
Failed
Copy SHA
Samual Norman
b2add5a2
Copied
Failed
Copy SHA
add `createGeneratorLock()`
3y ago
0.8.0
Samual Norman
·
3y ago
v0.8.0
50f8e5cd
Copied
Failed
Copy SHA
Samual Norman
50f8e5cd
Copied
Failed
Copy SHA
0.8.0
v0.8.0
3y ago
because `index.ts` no longer exports anything, there's no point in having `deasync` anymore
Samual Norman
·
3y ago
65b64c6a
Copied
Failed
Copy SHA
Samual Norman
65b64c6a
Copied
Failed
Copy SHA
because `index.ts` no longer exports anything, there's no point in having `deasync` anymore
3y ago
rename `types.d.ts` to `env.d.ts`
Samual Norman
·
3y ago
fbd6a0ea
Copied
Failed
Copy SHA
Samual Norman
fbd6a0ea
Copied
Failed
Copy SHA
rename `types.d.ts` to `env.d.ts`
3y ago
update dependencies
Samual Norman
·
3y ago
d43f123c
Copied
Failed
Copy SHA
Samual Norman
d43f123c
Copied
Failed
Copy SHA
update dependencies
3y ago
I'm biting the bullet and removing the `export` `from`s from `index.ts`
Samual Norman
·
3y ago
aa42d8ca
Copied
Failed
Copy SHA
Samual Norman
aa42d8ca
Copied
Failed
Copy SHA
I'm biting the bullet and removing the `export` `from`s from `index.ts`
3y ago
add exponential backoff to `retry()`
Samual Norman
·
3y ago
70205e02
Copied
Failed
Copy SHA
Samual Norman
70205e02
Copied
Failed
Copy SHA
add exponential backoff to `retry()`
3y ago
add `countDigits()`
Samual Norman
·
3y ago
9724901e
Copied
Failed
Copy SHA
Samual Norman
9724901e
Copied
Failed
Copy SHA
add `countDigits()`
3y ago
add `countBits()`
Samual Norman
·
3y ago
67f74486
Copied
Failed
Copy SHA
Samual Norman
67f74486
Copied
Failed
Copy SHA
add `countBits()`
3y ago
change license and set new minimum node version
Samual Norman
·
3y ago
434fc6f1
Copied
Failed
Copy SHA
Samual Norman
434fc6f1
Copied
Failed
Copy SHA
change license and set new minimum node version
3y ago
updates and moved over some stuff from temp branch
Samual Norman
·
3y ago
5a6c7149
Copied
Failed
Copy SHA
Samual Norman
5a6c7149
Copied
Failed
Copy SHA
updates and moved over some stuff from temp branch
3y ago
do multiple minify passes for more minificaiton
Samual Norman
·
3y ago
913d8eb0
Copied
Failed
Copy SHA
Samual Norman
913d8eb0
Copied
Failed
Copy SHA
do multiple minify passes for more minificaiton
3y ago
0.7.0
Samual Norman
·
3y ago
v0.7.0
22ee99cd
Copied
Failed
Copy SHA
Samual Norman
22ee99cd
Copied
Failed
Copy SHA
0.7.0
v0.7.0
3y ago
go back to generating normal type declarations
Samual Norman
·
3y ago
35b68c69
Copied
Failed
Copy SHA
Samual Norman
35b68c69
Copied
Failed
Copy SHA
go back to generating normal type declarations
3y ago
hopefully fix type declarations
Samual Norman
·
3y ago
73d436ed
Copied
Failed
Copy SHA
Samual Norman
73d436ed
Copied
Failed
Copy SHA
hopefully fix type declarations
3y ago
add move-to-front encoding and decoding
Samual Norman
·
3y ago
64827789
Copied
Failed
Copy SHA
Samual Norman
64827789
Copied
Failed
Copy SHA
add move-to-front encoding and decoding
3y ago
update dependencies
Samual Norman
·
3y ago
963a45b9
Copied
Failed
Copy SHA
Samual Norman
963a45b9
Copied
Failed
Copy SHA
update dependencies
3y ago
update pnpm version in workflows
Samual Norman
·
3y ago
b64e5244
Copied
Failed
Copy SHA
Samual Norman
b64e5244
Copied
Failed
Copy SHA
update pnpm version in workflows
3y ago
remove faulty `export`
Samual Norman
·
3y ago
e2e432e0
Copied
Failed
Copy SHA
Samual Norman
e2e432e0
Copied
Failed
Copy SHA
remove faulty `export`
3y ago
add `SortedList`
Samual Norman
·
3y ago
05152596
Copied
Failed
Copy SHA
Samual Norman
05152596
Copied
Failed
Copy SHA
add `SortedList`
3y ago
some iterator stuff
Samual Norman
·
3y ago
c2b026c2
Copied
Failed
Copy SHA
Samual Norman
c2b026c2
Copied
Failed
Copy SHA
some iterator stuff
3y ago
0.6.0
Samual Norman
·
3y ago
v0.6.0
237bdcf2
Copied
Failed
Copy SHA
Samual Norman
237bdcf2
Copied
Failed
Copy SHA
0.6.0
v0.6.0
3y ago
update dependencies
Samual Norman
·
3y ago
e4567124
Copied
Failed
Copy SHA
Samual Norman
e4567124
Copied
Failed
Copy SHA
update dependencies
3y ago
add integer types in between powers of 2 (still multiples of 8)
Samual Norman
·
3y ago
c6158e2d
Copied
Failed
Copy SHA
Samual Norman
c6158e2d
Copied
Failed
Copy SHA
add integer types in between powers of 2 (still multiples of 8)
3y ago
add `binary-json` module for serialising and deserialising json types as a binary format
Samual Norman
·
3y ago
b9b8b832
Copied
Failed
Copy SHA
Samual Norman
b9b8b832
Copied
Failed
Copy SHA
add `binary-json` module for serialising and deserialising json types as a binary format
3y ago
replace `toLEB128.ts` with `leb128.ts` that can convert to and from u8 views
Samual Norman
·
3y ago
223854cc
Copied
Failed
Copy SHA
Samual Norman
223854cc
Copied
Failed
Copy SHA
replace `toLEB128.ts` with `leb128.ts` that can convert to and from u8 views
3y ago
fix lint errors
Samual Norman
·
3y ago
bf13f3b0
Copied
Failed
Copy SHA
Samual Norman
bf13f3b0
Copied
Failed
Copy SHA
fix lint errors
3y ago
tweak vs code workspace configs
Samual Norman
·
3y ago
1ea315a8
Copied
Failed
Copy SHA
Samual Norman
1ea315a8
Copied
Failed
Copy SHA
tweak vs code workspace configs
3y ago
update dependencies
Samual Norman
·
3y ago
16d938f5
Copied
Failed
Copy SHA
Samual Norman
16d938f5
Copied
Failed
Copy SHA
update dependencies
3y ago
added a bunch of utility types tweaked the parallel execution functions a bit added an innerds out promise class
Samual Norman
·
3y ago
a3e1b000
Copied
Failed
Copy SHA
Samual Norman
a3e1b000
Copied
Failed
Copy SHA
added a bunch of utility types tweaked the parallel execution functions a bit added an innerds out promise class
3y ago
make second argument of `ensure()` optional again
Samual Norman
·
3y ago
91e104a2
Copied
Failed
Copy SHA
Samual Norman
91e104a2
Copied
Failed
Copy SHA
make second argument of `ensure()` optional again
3y ago
simplify external dependency finding code and replace `SHOUTY_CASE` with `PascalCase`
Samual Norman
·
3y ago
2a9bd739
Copied
Failed
Copy SHA
Samual Norman
2a9bd739
Copied
Failed
Copy SHA
simplify external dependency finding code and replace `SHOUTY_CASE` with `PascalCase`
3y ago
0.5.0
Samual Norman
·
3y ago
v0.5.0
69206052
Copied
Failed
Copy SHA
Samual Norman
69206052
Copied
Failed
Copy SHA
0.5.0
v0.5.0
3y ago
turns `v0.5.0` never got published fix ci
Samual Norman
·
3y ago
1f34ee62
Copied
Failed
Copy SHA
Samual Norman
1f34ee62
Copied
Failed
Copy SHA
turns `v0.5.0` never got published fix ci
3y ago
0.5.1
Samual Norman
·
3y ago
1d4bc802
Copied
Failed
Copy SHA
Samual Norman
1d4bc802
Copied
Failed
Copy SHA
0.5.1
3y ago
fix emitted type declarations
Samual Norman
·
3y ago
69c48361
Copied
Failed
Copy SHA
Samual Norman
69c48361
Copied
Failed
Copy SHA
fix emitted type declarations
3y ago
0.5.0
Samual Norman
·
3y ago
8a55c674
Copied
Failed
Copy SHA
Samual Norman
8a55c674
Copied
Failed
Copy SHA
0.5.0
3y ago
fix lint ci
Samual Norman
·
3y ago
473fc004
Copied
Failed
Copy SHA
Samual Norman
473fc004
Copied
Failed
Copy SHA
fix lint ci
3y ago
shorten and widen yaml files merge `babel.config.json` into `rollup.config.js` add warning message when imported cia cjs overhaul `package.json` scripts update dependencies add fullstop to readme overhaul `rollup.config.js` remove comment in `tsconfig.json` and update `module` to `ESNext` overhaul js scripts add some jsdocs make `nesure()` type more accurate fit code into 120 columsn where it doesn't capitalisation add `type` to imports turn some `function`s into arrow functions where their body is just a `return` prefer named named imports over default imports alias `/` to `src` move `export` `from`s to bottom cooler jsdoc style remove unsued dependencies
Samual Norman
·
3y ago
35210089
Copied
Failed
Copy SHA
Samual Norman
35210089
Copied
Failed
Copy SHA
shorten and widen yaml files merge `babel.config.json` into `rollup.config.js` add warning message when imported cia cjs overhaul `package.json` scripts update dependencies add fullstop to readme overhaul `rollup.config.js` remove comment in `tsconfig.json` and update `module` to `ESNext` overhaul js scripts add some jsdocs make `nesure()` type more accurate fit code into 120 columsn where it doesn't capitalisation add `type` to imports turn some `function`s into arrow functions where their body is just a `return` prefer named named imports over default imports alias `/` to `src` move `export` `from`s to bottom cooler jsdoc style remove unsued dependencies
3y ago
make `ensure` just an alias for `assert` let `message` be a function that returns a string
Samual Norman
·
3y ago
28c920ad
Copied
Failed
Copy SHA
Samual Norman
28c920ad
Copied
Failed
Copy SHA
make `ensure` just an alias for `assert` let `message` be a function that returns a string
3y ago
loosen lint rules
Samual Norman
·
3y ago
03f41db4
Copied
Failed
Copy SHA
Samual Norman
03f41db4
Copied
Failed
Copy SHA
loosen lint rules
3y ago
update dependencies
Samual Norman
·
3y ago
ce40cbd7
Copied
Failed
Copy SHA
Samual Norman
ce40cbd7
Copied
Failed
Copy SHA
update dependencies
3y ago
add functions for running code in parallel
Samual Norman
·
3y ago
aa193702
Copied
Failed
Copy SHA
Samual Norman
aa193702
Copied
Failed
Copy SHA
add functions for running code in parallel
3y ago
update dependencies
Samual Norman
·
3y ago
926a79bd
Copied
Failed
Copy SHA
Samual Norman
926a79bd
Copied
Failed
Copy SHA
update dependencies
3y ago
had a go at reactivity
Samual Norman
·
3y ago
943e6f3c
Copied
Failed
Copy SHA
Samual Norman
943e6f3c
Copied
Failed
Copy SHA
had a go at reactivity
3y ago
0.4.0
Samual Norman
·
4y ago
v0.4.0
7af4060a
Copied
Failed
Copy SHA
Samual Norman
7af4060a
Copied
Failed
Copy SHA
0.4.0
v0.4.0
4y ago
update dependencies
Samual Norman
·
4y ago
e36934f0
Copied
Failed
Copy SHA
Samual Norman
e36934f0
Copied
Failed
Copy SHA
update dependencies
4y ago
update readme
Samual Norman
·
4y ago
9ede2acd
Copied
Failed
Copy SHA
Samual Norman
9ede2acd
Copied
Failed
Copy SHA
update readme
4y ago
remove uneeded recursion
Samual Norman
·
4y ago
43304392
Copied
Failed
Copy SHA
Samual Norman
43304392
Copied
Failed
Copy SHA
remove uneeded recursion
4y ago
add `createLock()` calling it returns a `lock()` function which takes a callback that returns a promise `lock()` ensures that each promise will be resolved in order with no overlap
Samual Norman
·
4y ago
16c0a625
Copied
Failed
Copy SHA
Samual Norman
16c0a625
Copied
Failed
Copy SHA
add `createLock()` calling it returns a `lock()` function which takes a callback that returns a promise `lock()` ensures that each promise will be resolved in order with no overlap
4y ago
add `retry()` which takes an async function and tries again a few times if it throws add `fetch()` which either imported `node-fetch` or just uses native `fetch()` depending tweak linting update dependencies reformat some code a little bit hide some files that shouldn't be edited in vs code simplify `scripts/build-package-json.js` and replace with better `package.json` `"exports"` rules add missing `export`s to `index.ts`
Samual Norman
·
4y ago
a6aa95ef
Copied
Failed
Copy SHA
Samual Norman
a6aa95ef
Copied
Failed
Copy SHA
add `retry()` which takes an async function and tries again a few times if it throws add `fetch()` which either imported `node-fetch` or just uses native `fetch()` depending tweak linting update dependencies reformat some code a little bit hide some files that shouldn't be edited in vs code simplify `scripts/build-package-json.js` and replace with better `package.json` `"exports"` rules add missing `export`s to `index.ts`
4y ago
add `memoizeFunction()`
Samual Norman
·
4y ago
3091cba3
Copied
Failed
Copy SHA
Samual Norman
3091cba3
Copied
Failed
Copy SHA
add `memoizeFunction()`
4y ago
change `isRecord()` to be an arrow function
Samual Norman
·
4y ago
a3017e27
Copied
Failed
Copy SHA
Samual Norman
a3017e27
Copied
Failed
Copy SHA
change `isRecord()` to be an arrow function
4y ago
rewrite `deeplyEquals()` to accept any value
Samual Norman
·
4y ago
fc3e7844
Copied
Failed
Copy SHA
Samual Norman
fc3e7844
Copied
Failed
Copy SHA
rewrite `deeplyEquals()` to accept any value
4y ago
update dependencies
Samual Norman
·
4y ago
3e429c12
Copied
Failed
Copy SHA
Samual Norman
3e429c12
Copied
Failed
Copy SHA
update dependencies
4y ago
add `asyncReplace()` same as `String#replace()` when using with a regular expression and replacer function except the replacer function returns a promise
Samual Norman
·
4y ago
5d682f57
Copied
Failed
Copy SHA
Samual Norman
5d682f57
Copied
Failed
Copy SHA
add `asyncReplace()` same as `String#replace()` when using with a regular expression and replacer function except the replacer function returns a promise
4y ago
add `toLEB128()` to convert bigint to u8 buffer representing the integer in leb128 format
Samual Norman
·
4y ago
fe4ced1f
Copied
Failed
Copy SHA
Samual Norman
fe4ced1f
Copied
Failed
Copy SHA
add `toLEB128()` to convert bigint to u8 buffer representing the integer in leb128 format
4y ago
add `getBigIntWidth()` to get number of bits needed to represent integer
Samual Norman
·
4y ago
057a83f0
Copied
Failed
Copy SHA
Samual Norman
057a83f0
Copied
Failed
Copy SHA
add `getBigIntWidth()` to get number of bits needed to represent integer
4y ago
drop support for node 12 the minimum supported version is now 14 upgrade to using `fs/promises` rather than importing `fs` and using its `.promises` property fix new type error caused by upgrading to `@types/node@14`
Samual Norman
·
4y ago
b239ddae
Copied
Failed
Copy SHA
Samual Norman
b239ddae
Copied
Failed
Copy SHA
drop support for node 12 the minimum supported version is now 14 upgrade to using `fs/promises` rather than importing `fs` and using its `.promises` property fix new type error caused by upgrading to `@types/node@14`
4y ago
add `RemoveFirst<>` type which removes the first item from a tuple
Samual Norman
·
4y ago
301d85a6
Copied
Failed
Copy SHA
Samual Norman
301d85a6
Copied
Failed
Copy SHA
add `RemoveFirst<>` type which removes the first item from a tuple
4y ago
Previous
1 / 3
1
2
3
Next