Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

delphi

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

delphi - npm Package Compare versions

Comparing version
0.0.1
to
0.0.2
+33
app.js
'use strict'
// print toby.version
console.log(`node :: toby.version = ${toby.version}`);
var num = 42;
var foo = 'foo';
toby.on('test', function(x){
console.log(`node :: toby.on(test) = ${x}`);
});
var result = toby.hostCall('dory', {num, foo});
console.log(`node :: toby.hostCall() = ${result}`);
// var cluster = require('cluster');
// cluster.on('c', function(x){console.log(`node :: x`)});
// if (cluster.isMaster) {
// console.log('node :: im master');
// cluster.fork();
// cluster.emit('c', 'greeting from parent :)')
// } else {
// console.log('node :: im slave. bye bye');
// cluster.emit('c','greeting from child :o')
// process.exit(0);
// }
// exit after 2 secs
(function(){setTimeout(function(){
process.exitCode = 42;
},2000)})();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

[object Arguments]hi
var console = {
log : function() {
// handle here in js
// test
require('fs').appendFileSync('stdout.log', arguments[0]);
}
};
console.log('hi', 'there');

Sorry, the diff of this file is not supported yet

+1
-1
{
"name": "delphi",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,1 +0,16 @@

# node-delphi
# node-delphi
## GUI Example
![alt tag](https://github.com/ivere27/node-delphi/blob/master/doc/delphi-gui.png?raw=true)
## Console Example
![alt tag](https://github.com/ivere27/node-delphi/blob/master/doc/delphi-console.png?raw=true)
you must copy tobynode.dll to the build directory(such as /Console/Win32/Debug/)
### download tobynode.dll
* https://github.com/ivere27/archive/tree/master/tobynode/node_v6.10.0_x_toby_v0.1.5_x86_debug
### or build tobynode.dll (includes toby and node.js)
* https://github.com/ivere27/toby/tree/master/vc_tobynode