{"name":"@jennifer/mikrotik","description":"A MikroTik RouterOS API client: commands, query words, tagged commands and /listen streams over plain TCP or api-ssl","versions":{"0.1.0":{"version":"0.1.0","kind":"git","url":"https://github.com/jennifer-language/deck-mikrotik.git","ref":"0.1.0","commit":"7146e20ca9d7f3bfebe352ddc9f41c6f09b8418e","checksum":"","yanked":true,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":["net"],"keywords":["mikrotik","routeros","router","api","network"],"description":"A MikroTik RouterOS API client: commands, query words, tagged commands and /listen streams over plain TCP or api-ssl","publishedAt":"1794824326","repoId":1459842424,"repoOwnerId":305727207,"repoOwner":"jennifer-language"},"0.2.0":{"version":"0.2.0","kind":"git","url":"https://github.com/jennifer-language/deck-mikrotik.git","ref":"0.2.0","commit":"f822962ae4a908586a8cd3777d4d3eeb1a3e9729","checksum":"","yanked":true,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":["net"],"keywords":["mikrotik","routeros","router","api","network"],"description":"A MikroTik RouterOS API client: commands, query words, tagged commands and /listen streams over plain TCP or api-ssl","publishedAt":"1795271430","repoId":1459842424,"repoOwnerId":305727207,"repoOwner":"jennifer-language"},"0.3.0":{"version":"0.3.0","kind":"git","url":"https://github.com/jennifer-language/deck-mikrotik.git","ref":"0.3.0","commit":"f00b09b18c858cbea698b74578bb4fea9f1e60c3","checksum":"","yanked":true,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.27.0"},"capabilities":["net"],"keywords":["mikrotik","routeros","router","api","network"],"description":"A MikroTik RouterOS API client: commands, query words, tagged commands and /listen streams over plain TCP or api-ssl","publishedAt":"1795556812","repoId":1459842424,"repoOwnerId":305727207,"repoOwner":"jennifer-language"}},"readme":"# @jennifer/mikrotik\n\n[![test](https://github.com/jennifer-language/deck-mikrotik/actions/workflows/test.yml/badge.svg)](https://github.com/jennifer-language/deck-mikrotik/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://jennifer-language.github.io/deck-mikrotik/)\n[![release](https://img.shields.io/github/v/release/jennifer-language/deck-mikrotik)](https://github.com/jennifer-language/deck-mikrotik/releases/latest)\n\nA [Jennifer](https://jennifer-lang.dev/) deck that talks to MikroTik™ routers\nover the RouterOS™ API (port 8728, or api-ssl on 8729): log in, run commands,\nfilter on the router with query words, and read streaming commands such as\n`/interface/monitor-traffic`.\n\nIt was Jennifer's bundled `mikrotik.j` module until 0.27; the surface is the\nsame, so moving over changes only the import:\n\n```jennifer\nimport \"@jennifer/mikrotik/\" as mikrotik;   # was: import \"mikrotik.j\" as mikrotik;\n```\n\n**[Documentation](https://jennifer-language.github.io/deck-mikrotik/)**\n\n## Install\n\n```sh\njvc add @jennifer/mikrotik\n```\n\nThis vendors the deck to `vendor/\u003cscope\u003e/mikrotik/`. Without `jvc`, unpack the\n`src/` subtree of a release archive (`\u003cscope\u003e-mikrotik-\u003cversion\u003e.tar.gz`) there.\n\n## Usage\n\n```jennifer\nimport \"@jennifer/mikrotik/\" as mikrotik;\n\ndef s as mikrotik.Session init mikrotik.connect(mikrotik.optionsTLS(\"192.168.88.1\", \"admin\", \"secret\"));\nfor (def iface in mikrotik.print($s, \"/interface\")) {\n    io.printf(\"%s %s\\n\", $iface[\"name\"], $iface[\"running\"]);\n}\nmikrotik.close($s);\n```\n\n## Requirements\n\nJennifer 0.27.0 or newer, the default `jennifer` binary (`net`), not\n`jennifer-tiny`, and a router with the `api` or `api-ssl` service enabled.\n\n## Development\n\n```sh\ntools/check-all.sh                   # the full gate, as CI runs it\njennifer test src/mikrotik_test.j    # the test overlay\ntools/check-docs.sh                  # docs against the code\ntools/pack.sh dist                   # build the release archive\n```\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n\n`tools/check-headers.sh` checks every source file's SPDX header against\n`deck.toml`.\n\n## Trademarks\n\nMikroTik™ and RouterOS™ are trademarks of SIA \"Mikrotīkls\". Other product and\ncompany names may be trademarks of their respective owners. They are used only\nto identify the products this deck works with. This deck is an independent\nproject, not affiliated with, sponsored or endorsed by SIA Mikrotikls.\n","movedTo":"@deckyard/mikrotik"}