No description
Find a file
Fries 548ef52ab7 change api and fix incorrect caclulation
i changed the api to not have a global wasm instance anymore. now
initWasm returns a WASM instance you have to pass down to the functions.
i feel like this is the best as it means you wont deal with a race
condition if you're messing with it more then once at the same time,
like i'm doing with tests.

i also accounted for the height given as that was the original
calculation that the Blurhash C implmentation used, not width * width,
width * height.
2023-08-21 18:58:23 -07:00
blurhash change up api, and bump down version 2023-08-14 19:24:20 -07:00
spec change api and fix incorrect caclulation 2023-08-21 18:58:23 -07:00
src change api and fix incorrect caclulation 2023-08-21 18:58:23 -07:00
.clang-format change up api, and bump down version 2023-08-14 19:24:20 -07:00
.editorconfig create a wasm js wrapper for blurhash 2023-08-12 02:14:14 -07:00
.gitignore change api and fix incorrect caclulation 2023-08-21 18:58:23 -07:00
.npmignore change api and fix incorrect caclulation 2023-08-21 18:58:23 -07:00
.npmrc change up api, and bump down version 2023-08-14 19:24:20 -07:00
.nycrc change api and fix incorrect caclulation 2023-08-21 18:58:23 -07:00
.prettierrc.json create a wasm js wrapper for blurhash 2023-08-12 02:14:14 -07:00
license.md add a license 2023-08-12 02:21:16 -07:00
Makefile make initial memory smaller and let it grow 2023-08-14 22:19:45 -07:00
package.json change api and fix incorrect caclulation 2023-08-21 18:58:23 -07:00
pnpm-lock.yaml change api and fix incorrect caclulation 2023-08-21 18:58:23 -07:00
rollup.config.js change api and fix incorrect caclulation 2023-08-21 18:58:23 -07:00
tsconfig.json change up api, and bump down version 2023-08-14 19:24:20 -07:00