1.0.0-alpha.4 • Published 4 months ago

@nikitajs/file v1.0.0-alpha.4

Weekly downloads
51
License
MIT
Repository
github
Last release
4 months ago

Nikita "file" package

The "file" package provides Nikita actions to work with files.

Usage

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

const {$status} = await nikita.file.yaml({
  content: {
    preference: {
      color: "orange",
    },
  },
  target: "~/config.yml"
});
console.info("File was modified:", $status);