0.1.8 • Published 5 months ago

@whoisgray/mikrotik-ts-sdk v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

MikroTik TypeScript SDK

NPM Version
License
Issues

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!

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m "Add feature")
  4. Push to your branch (git push origin feature-branch)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License.

0.1.8

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago