-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,10 @@ This library is not, in any way, affiliated or related to AVM GmbH. Use it at yo | |
* no production dependencies | ||
|
||
## Getting Started | ||
it is an ES module with named exports | ||
|
||
### Prerequisites | ||
* nodejs >10 | ||
* nodejs >14 (may work with older version, but tested with > 14) | ||
* fritzbox FW >6.69 | ||
|
||
### Installing | ||
|
@@ -28,14 +29,9 @@ npm install fritzdect-aha-nodejs | |
|
||
## Changelog | ||
### **WORK IN PROGRESS** | ||
* 0.9.1 (foxthefox) first release on npm | ||
* 0.0.1 (foxthefox) initial release | ||
|
||
## Contributing | ||
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. | ||
|
||
## Versioning | ||
We use SemVer for versioning. For the versions available, see the tags on this repository. | ||
|
||
## License | ||
Copyright (c) 2022 foxthefox <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
import Fritz from './lib/fritz_ahaapi.js'; | ||
import FritzEmu from './lib/fritz_mockserver_new.js'; | ||
//const Fritz = require('./lib/fritz_ahaapi.js'); | ||
//const FritzEmu = require('./lib/fritz_mockserver_new.js'); | ||
import FritzEmu from './lib/fritz_mockserver.js'; | ||
|
||
export { Fritz, FritzEmu }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
const server = require('./fritz_mockserver_new.js'); | ||
import { FritzEmu } from '../index.js'; | ||
|
||
server.setupHttpServer(function() {}); | ||
const emulation = new FritzEmu(); | ||
emulation.setupHttpServer(function() {}); |