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
lib
/
src
2 folders
·
49 files
at
temp
Samual Norman
·
temp
·
3y ago
0d8b9416
fetch
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
parallel
temp
3y ago
.eslintrc.yml
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
assert.ts
hopefully fix type declarations
3y ago
asyncReplace.ts
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
BigFloat.ts
temp
3y ago
binary-json.ts
add integer types in between powers of 2 (still multiples of 8)
3y ago
BitStream.ts
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
bufferToString.ts
linting
4y ago
clamp.ts
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
clearObject.ts
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
combineAsyncGeneratorsParallel.ts
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
copyFilePersistent.ts
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
countBigIntBits.ts
temp
3y ago
countBigIntDigits.ts
temp
3y ago
countHackmudCharacters.ts
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
createErrorClass.ts
fix `Cannot assign to read only property 'name'` when `Error.prototype` is frozen
4y ago
createLock.ts
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
deeplyEquals.ts
hopefully fix type declarations
3y ago
DynamicMap.ts
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
fibonacci.ts
temp
3y ago
findFiles.ts
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
findMatches.ts
hopefully fix type declarations
3y ago
getDeepObjectProperty.ts
fix new lint errors
4y ago
index.ts
temp
3y ago
is.ts
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
isGenerator.ts
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
isRecord.ts
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
iterate.ts
temp
3y ago
iterateXY.ts
turn into an actual publishable package
5y ago
leb128.ts
temp
3y ago
lerp.ts
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
memoizeFunction.ts
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
move-to-front.ts
add move-to-front encoding and decoding
3y ago
objectHasOwn.ts
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
positionToLine.ts
linting
4y ago
PromiseX.ts
temp
3y ago
queueTask.ts
temp
3y ago
raceAllPromises.ts
linting
4y ago
random-integer.ts
temp
3y ago
reactivity.ts
had a go at reactivity
3y ago
retry.ts
hopefully fix type declarations
3y ago
shuffle.ts
improve `shuffle()` performance by a factor of 10 this is done by swapping out splicing for plain swapping
4y ago
sigmoid.ts
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
SortedList.ts
add `SortedList`
3y ago
spliceString.ts
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
tryCatch.ts
turn into an actual publishable package
5y ago
tsconfig.json
hopefully fix type declarations
3y ago
types.d.ts
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
wait.ts
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
writeFilePersistent.ts
hopefully fix type declarations
3y ago