44 lines
2.2 KiB
JSON
44 lines
2.2 KiB
JSON
|
{
|
||
|
"name": "node-osc",
|
||
|
"description": "pyOSC inspired library",
|
||
|
"version": "0.2.1",
|
||
|
"main": "index",
|
||
|
"athor": {
|
||
|
"name": "Myles Borins",
|
||
|
"email": "myles.borins@gmail.com"
|
||
|
},
|
||
|
"contributors": [
|
||
|
{
|
||
|
"name": "Hans Hübner",
|
||
|
"email": "hans.huebner@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "Andy Smith",
|
||
|
"email": "jabber@term.ie"
|
||
|
}
|
||
|
],
|
||
|
"dependencies": {
|
||
|
"jspack": "0.0.1",
|
||
|
"osc-min": "0.0.5"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"osc",
|
||
|
"udp"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/TheAlphaNerd/node-osc.git"
|
||
|
},
|
||
|
"readme": "--------\nnode-osc\n--------\n\nA very basic OSC client (so far) implementation based heavily on pyOSC_.\n\n\nRelies on current trunk of node.js for the dgram library.\n\n.. _pyOSC: https://trac.v2.nl/wiki/pyOSC\n\nInstall using npm\n\nnpm install node-osc\n\nExample\n-------\n\nSending OSC messages:\n\n::\n \n var osc = require('node-osc');\n \n var client = new osc.Client('127.0.0.1', 3333);\n client.send('/oscAddress', 200);\n \nListening for OSC messages:\n\n::\n \n var osc = require('./lib/osc');\n \n var oscServer = new osc.Server(3333, '0.0.0.0');\n oscServer.on(\"message\", function (msg, rinfo) {\n \tconsole.log(\"TUIO message:\");\n \tconsole.log(msg);\n });\n \nExample of received TUIO (based on OSC) messages:\n\n::\n\n TUIO message:\n [ [ '/tuio/2Dcur', 'alive', 3 ],\n [ '/tuio/2Dcur',\n 'set',\n 3,\n 0.5218750238418579,\n 0.3895833194255829,\n 0,\n 0,\n 0 ],\n [ '/tuio/2Dcur', 'fseq', 2842 ] ]\n \n TUIO message:\n [ [ '/tuio/2Dcur', 'alive', 3 ],\n [ '/tuio/2Dcur',\n 'set',\n 3,\n 0.5218750238418579,\n 0.3895833194255829,\n 0,\n 0,\n 0 ],\n [ '/tuio/2Dcur', 'fseq', 2843 ] ]\n \n TUIO message:\n [ [ '/tuio/2Dcur', 'alive' ],\n [ '/tuio/2Dcur', 'fseq', 2844 ] ]\n\nLicensing\n---------\n\nLGPL. Please see the file lesser.txt for details.\n",
|
||
|
"readmeFilename": "README.rst",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/TheAlphaNerd/node-osc/issues"
|
||
|
},
|
||
|
"_id": "node-osc@0.2.1",
|
||
|
"dist": {
|
||
|
"shasum": "4a541e227de41aece9968457bad81c315c686336"
|
||
|
},
|
||
|
"_from": "node-osc@",
|
||
|
"_resolved": "https://registry.npmjs.org/node-osc/-/node-osc-0.2.1.tgz"
|
||
|
}
|