{"_id":"@austinbirch/yoga-wasm","name":"@austinbirch/yoga-wasm","dist-tags":{"latest":"0.1.0-alpha.8"},"versions":{"0.1.0-alpha.8":{"name":"@austinbirch/yoga-wasm","description":"WASM bindings for Yoga Layout","version":"0.1.0-alpha.8","license":"MIT","contributors":[{"name":"Isabella Skořepová"},{"name":"Vincent Riemer"},{"name":"Austin Birch"}],"main":"lib/index.js","scripts":{"clean:lib":"rimraf lib","build:wasm":"mkdir -p build && ./build.sh","prebuild:lib":"npm run clean:lib","build:lib":"babel src --out-dir lib","build":"npm run build:wasm && npm run build:lib","bench":"node tests/run-bench $(find tests/Benchmarks -name '*.js')","test":"jest","prepare":"npm run build"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.3","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1","jest":"^24.9.0","rimraf":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/austinbirch/yoga-wasm.git"},"publishConfig":{"access":"public"},"jest":{"setupFiles":["./tests/jest-setup.js"],"testEnvironment":"node","testRegex":"Test\\.js$"},"babel":{"presets":["es2015"],"plugins":["transform-object-rest-spread"]},"dependencies":{},"_id":"@austinbirch/yoga-wasm@0.1.0-alpha.8","gitHead":"84872c628dde085585b8a4105dbcf995af4e96bb","bugs":{"url":"https://github.com/austinbirch/yoga-wasm/issues"},"homepage":"https://github.com/austinbirch/yoga-wasm#readme","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-AR3Cb6cl1F+nlBLMePKZ+HAG/yudtrQb6vGRwXzPi+01Cok9qUnNCUgs79VeAa40OaP7wived00g4NePS+ktpA==","shasum":"eee73a2ea079364cc92962f9518c33f53e4f6ee2","tarball":"https://registry.npmjs.org/@austinbirch/yoga-wasm/-/yoga-wasm-0.1.0-alpha.8.tgz","fileCount":5,"unpackedSize":164539,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDthfZzJMROECUNs2bVJu/8XB1SBqutTrU4uvlj6JKcjAIgLGTEW3ovJbHh6Zxyty2Az2ID45bu398UZY7OgzA9E1c="}]},"_npmUser":{"name":"austinbirch","email":"mraustinbirch@gmail.com"},"directories":{},"maintainers":[{"name":"austinbirch","email":"mraustinbirch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/yoga-wasm_0.1.0-alpha.8_1758114752211_0.5713765467366962"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-17T13:12:32.106Z","0.1.0-alpha.8":"2025-09-17T13:12:32.374Z","modified":"2025-09-17T13:12:32.684Z"},"maintainers":[{"name":"austinbirch","email":"mraustinbirch@gmail.com"}],"description":"WASM bindings for Yoga Layout","homepage":"https://github.com/austinbirch/yoga-wasm#readme","repository":{"type":"git","url":"git+https://github.com/austinbirch/yoga-wasm.git"},"contributors":[{"name":"Isabella Skořepová"},{"name":"Vincent Riemer"},{"name":"Austin Birch"}],"bugs":{"url":"https://github.com/austinbirch/yoga-wasm/issues"},"license":"MIT","readme":"# Yoga WASM\n\nCustom bindings of Yoga Layout compiled to WebAssembly.\n\n## Install\n\n`npm install @codewitchbella/yoga-wasm`\n\n## Usage with webpack\n\nAdd following to `module.rules` section of your configuration\n\n```\n{\n  test: /yoga\\.wasm$/,\n  loader: require.resolve('file-loader'),\n  type: 'javascript/auto',\n},\n```\n\nThis makes webpack provide us with path to `yoga.wasm` file.\n\n## Goals\n\n- WASM bindings on yoga-layout compatible with official build\n- Be able to use it as drop-in replacement for yoga-layout-prebuilt except that\n  it exports promise.\n\n## Status\n\nIt is code-complete and most of the code is copied over from yoga-layout, which\nmeans that it should be compatible with most code using yoga. But it needs\nmore testing to determine if it is actually true.\n\n## Currently non-goals\n\n- Fallback to JS (but I might accept pull request)\n","readmeFilename":"README.md","_rev":"1-eae8decdc3cfa68005162657f52f202d"}