Git Product home page Git Product logo

Comments (15)

friedrith avatar friedrith commented on June 12, 2024

Euh, node-wifi is a node.js module so it cannot be used for fronted in browser. Even with some help like browserify, I doubt it works because node-wifi uses command lines.

from node-wifi.

Ashish1611 avatar Ashish1611 commented on June 12, 2024

then how we will run it in angular

from node-wifi.

friedrith avatar friedrith commented on June 12, 2024

You cannot. It is not intended for this. This module is useful for node scripts or desktop applications in nodejs. Maybe you could explain me what is the use case so I could help you.

from node-wifi.

Ashish1611 avatar Ashish1611 commented on June 12, 2024

i want to create app which can be display the wifi devices near you....

from node-wifi.

friedrith avatar friedrith commented on June 12, 2024

What is your framework ? Electron, node-webkit ?

from node-wifi.

Ashish1611 avatar Ashish1611 commented on June 12, 2024

ionic 2 framework and first i want to test this feature on browse.

from node-wifi.

Ashish1611 avatar Ashish1611 commented on June 12, 2024

node-wifi

from node-wifi.

friedrith avatar friedrith commented on June 12, 2024

I don't know how node-webkit works but you should be able to use node.js in a specific thread. The problem doesn't come from our module which is specifically adapted for node environment. That's your job to find a node environment in your framework.

from node-wifi.

Ashish1611 avatar Ashish1611 commented on June 12, 2024

Euh ,okkk

from node-wifi.

friedrith avatar friedrith commented on June 12, 2024

Sorry I made a mistake, I used several times the term node-wifi instead of node-webkit.

from node-wifi.

friedrith avatar friedrith commented on June 12, 2024

But I can ensure you that you cannot use node-wifi in the browser. It would be a significant security breach if you could because we use command lines. It is possible in some framework like electron even in the ui thread but it is not possible in simple browser.

from node-wifi.

Ashish1611 avatar Ashish1611 commented on June 12, 2024

so, can you provide me names of libraries which i can use in simple browsers also for wifi. because i found some of the libraries which can run in simple browsers also.because is at this state i change my framework from ionic 2 to electron is quiet difficult and time consuming

from node-wifi.

friedrith avatar friedrith commented on June 12, 2024

Sorry guy but I don't have the time to do your job. This module works very well for full node environment (I thought it will obvious because of the name of the module) for Windows, MacOS and Linux (but not Android or iOS). For other environments try to find something else because we don't support them. I doubt you can find a wifi library working in a simple browser because as I already told you : "It would be a significant security breach" but if you already found one working with ionic, perfect use it.

from node-wifi.

Ashish1611 avatar Ashish1611 commented on June 12, 2024

Ehhu, ok

from node-wifi.

lock avatar lock commented on June 12, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from node-wifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.