Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hadouken-js-adapter

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadouken-js-adapter - npm Package Compare versions

Comparing version 0.0.1 to 0.1.2

2

package.json
{
"name": "hadouken-js-adapter",
"version": "0.0.1",
"version": "0.1.2",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./out/src/main.js",

# Hadouken Node.js adapter [![Build Status](https://build.openf.in:443/buildStatus/icon?job=node-adapter&style=plastic)]()
Allows the use of the Hadouken API from node.js. View the [documentation](https://hadoukenio.github.io/node-adapter/)
Allows the use of the Hadouken API from node.js. View the [documentation](https://hadoukenio.github.io/js-adapter/)
## Requirements
- Node.js LTS ^6.9
- Node.js LTS ^6.9
### Install as dependency
$ `npm install -S HadoukenIO/node-adapter`
$ `npm install -S hadouken-js-adapter`
### Usage
```javascript
const { connect, Identity } = require("node-adapter");
const { connect, Identity } = require("hadouken-js-adapter");

@@ -21,14 +21,14 @@ connect({

}).then(logic).catch(connError);
function logic(fin) {
fin.System.getVersion().then(v => console.log("Connected to Hadouken version", v));
const win = fin.Window.wrap({
const win = fin.Window.wrap({
uuid: "remote-app-uuid",
name: "remote-window-name"
});
win.moveBy(500, 0).then(win.flash());
}

@@ -35,0 +35,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc