Mercurial > hg > nodescore
view node_modules/node-osc/package.json @ 101:52e44ee1c791 tip master
enabled all scores in autostart script
author | Rob Canning <rc@kiben.net> |
---|---|
date | Tue, 21 Apr 2015 16:20:57 +0100 |
parents | cd921abc8887 |
children |
line wrap: on
line source
{ "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" }