bare-native
v0.1.2
Published
Native application development framework for Bare
Readme
bare-native
Native application development framework for Bare. It provides a common set of UI primitives backed by the native platform UI toolkits, built on top of the Bare native addon system. This means that all native code is neatly tucked away and delivered to developers as prebuilt binaries, no compilation required.
npm i bare-nativeUsage
const { Window } = require('bare-native')
const window = new Window(400, 250)https://github.com/holepunchto/bare-build is used to package your application code alongside a Bare runtime suitable for the target platform. Either install the tool globally or as a development dependency of your project:
npm i [-g|-D] bare-buildNext, build your application for the target platform, telling bare-build to use the bare-native runtime:
bare-build --out <dir> --target <platform>-<arch> --runtime bare-native/runtime app.jsLicense
Apache-2.0
