@nikitajs/file
v1.0.0-alpha.4
Published
Provides Nikita actions to work with files.
Downloads
26
Maintainers
Readme
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);