xnpm

Wrapper for npm to cross compile for Android.

Usage no npm install needed!

<script type="module">
  import xnpm from 'https://cdn.skypack.dev/xnpm';
</script>

README

xnpm

xnpm is a quick hack to build npm modules for ANDROID. It could be easily extended as a general purpose cross compilation tool for npm.

To rebuild all modules for ANDROID try this:

$ xnpm rebuild --arch=arm --toolkit-prefix=~/workspace/node-gonk/out/toolchain/bin/arm-linux-androideabi-