0.1.8 • Published 5 months ago
@whoisgray/mikrotik-ts-sdk v0.1.8
MikroTik TypeScript SDK
A TypeScript SDK for interacting with MikroTik RouterOS devices.
📦 Installation
npm install @whoisgray/mikrotik-ts-sdk
🚀 Usage
import { RouterOSClient } from "@whoisgray/mikrotik-ts-sdk";
const client = new RouterOSClient({
host: "192.168.1.1",
username: "admin",
password: "password",
});
async function main() {
try {
const users = await client.userManager.getUsers();
console.log(users);
} catch (error) {
console.error("Error fetching users:", error);
}
}
main();
📜 API Documentation
(Provide a link to your API documentation or briefly describe the available methods here.)
🤝 Contributing
Contributions are welcome!
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Commit your changes (
git commit -m "Add feature"
) - Push to your branch (
git push origin feature-branch
) - Open a Pull Request
📄 License
This project is licensed under the MIT License.