[go: up one dir, main page]

@nikitajs/service

1.0.0-alpha.9 • Public • Published

Nikita "service" package

The "service" package provides Nikita actions for various service management operations.

Usage

import "@nikitajs/service/register";
import nikita from "@nikitajs/core";

const {$status} = await nikita.service({
  name: "nginx-light",
  srv_name: "nginx",
  chk_name: "nginx",
  state: "started",
});
console.info("Network available on first connection attempt:", !$status);

Package Sidebar

Install

npm i @nikitajs/service

Weekly Downloads

7

Version

1.0.0-alpha.9

License

MIT

Unpacked Size

45.3 kB

Total Files

41

Last publish

Collaborators

  • david