native-app

1.0.2 • Public • Published

node-native-app

Node tool for building native apps on OSX

Currently only working on node 0.10.x. Support for 0.12.x and io.js will come when NodObjC is updated.

Installation

npm install native-app

Usage

var createApp = require('native-app')
 
createApp(function (err, app) {
  //do whatever you want
 
  app.close()
})

Try a sample with

npm run demo

API Reference

createApp(callback)

callback is passed a App once it is ready to use.

Each program should only call createApp once.

App

close()

Closes the App, releasing all memory and removing all items. Any further calls to this App will throw.

Package Sidebar

Install

npm i native-app

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • brandonhorst