Socket
Socket
Sign inDemoInstall

yoga-wasm-web

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yoga-wasm-web

[Yoga](https://github.com/facebook/yoga) but in WebAssembly. This is an **opinionated** fork from [pinqy520/yoga-layout-wasm](https://github.com/pinqy520/yoga-layout-wasm) with the following changes:


Version published
Weekly downloads
655K
increased by0.92%
Maintainers
1
Weekly downloads
 
Created
Source

yoga-wasm-web

Yoga but in WebAssembly. This is an opinionated fork from pinqy520/yoga-layout-wasm with the following changes:

  • Fix missing YGMeasureMode binding.
  • Fix missing YGUnit binding.
  • Set flag DYNAMIC_EXECUTION=0 for emcc to remove eval and Function executions.
  • Set flag TEXTDECODER=0.
  • Force the ENVIRONMENT to be web.
  • Add pre.js to set document as this.
  • Replace Rollup with esbuild for bundling.
  • Remove the asm.js build.
  • Enable LTO.

FAQs

Package last updated on 06 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc