chuckfairy / node-webcam

Nodejs Cross Platform Webcam usage
MIT License
193 stars 51 forks source link

Typo? `require( "./../../" );` #26

Closed JamesNewton closed 5 years ago

JamesNewton commented 5 years ago

On line 34 of /examples/websocket/App.js, the require is given a parameter of "./../../" which can't be right...

var NodeWebcam = require( "./../../" );

should be

var NodeWebcam = require( "node-webcam" );

No?

chuckfairy commented 5 years ago

You as an end user would use the later and I can add a note in the example about this. However for testing and usage without installing itself in the repo, we use that to include it in the examples.