Socket
Book a DemoInstallSign in
Socket

bare-native

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-native

Native application development framework for Bare

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
2
Created
Source

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-native

Usage

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-build

Next, 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.js

License

Apache-2.0

FAQs

Package last updated on 07 Jan 2026

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