@kitmi/sys

1.1.3 • Public • Published

@kitmi/sys

JavaScript Local System Utilities

@kitmi/sys is a small collection of utility functions designed to interact with the local system using JavaScript. It is designed to work with node.js/bun.sh.

Features

  • cmd helpers: run_, runLive_, runSync
  • require from specified location and throw friendly error: tryRequire
  • fs utils: isDir, isDirEmpty, fs from fs-extra
  • reboot: reboot
  • eval: interpolate, evaluate

Installation

To install @kitmi/sys, run the following command:

bun install @kitmi/sys

Or if you're using npm:

npm install @kitmi/sys

License

  • MIT
  • Copyright (c) 2023 KITMI PTY LTD

Package Sidebar

Install

npm i @kitmi/sys

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

36.7 kB

Total Files

25

Last publish

Collaborators

  • rockie