Giter Site home page Giter Site logo

carytrivett / prebuild-for-nodejs-mobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nodejs-mobile/prebuild-for-nodejs-mobile

0.0 0.0 0.0 85 KB

CLI tool to compile node.js native modules for mobile

License: MIT License

JavaScript 92.74% C++ 5.50% Python 1.76%

prebuild-for-nodejs-mobile's Introduction

prebuild-for-nodejs-mobile

CLI tool to compile native modules to work on nodejs-mobile

Usage

Specify one of the supported targets:

$ npx prebuild-for-nodejs-mobile
ERROR: Must specify a target to prebuild-for-nodejs-mobile, one of these:
  * ios-arm64-simulator
  * ios-arm64
  * ios-x64
  * android-arm
  * android-arm64
  * android-x64

Such as ios-arm64:

$ npx prebuild-for-nodejs-mobile ios-arm64

Use --verbose to see the whole compilation logs:

$ npx prebuild-for-nodejs-mobile ios-arm64 --verbose

For Android, you can specify the Android SDK version with --sdkXX, otherwise by default it will be 21, the lowest supported.

$ npx prebuild-for-nodejs-mobile android-arm64 --sdk28

Features

  • Compiles native modules for iOS
  • Compiles native modules for Android
  • Can customize the Android SDK target API version
  • Compiles Rust (either Neon or node-bindgen) Node.js native modules
  • Can customize build flags

License

MIT

prebuild-for-nodejs-mobile's People

Contributors

staltz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.