Neurological Phenomenon Multiplexer
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    sawrocketpublic

    Saw Rocket

    Raw Socket API SHIM for Chrome Packaged Apps and Mozilla Open Web Apps (Firefox OS).

    Current limitations

    • TCP client sockets only
    • UDP client sockets in chrome only
    • Binary data only

    Usage

    Copy sawrocket.js to your project and start using TCPSocket or UDPSocket.

    If you need to convert to strings, copy utf8.js and use UTF8ArrToStr and strToUTF8Arr. They've been stolen from the Mozilla Developer Docs.

    Manifests?

    A sample netcat demo app is included. Use:

    • manifest.json for Chrome
    • manifest.webapp for Firefox OS

    install

    npm i sawrocket

    Downloadsweekly downloads

    8

    version

    0.2.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar