halfigs
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

halfigs

NPM version

Halfigs allows you to delete, copy or create folders directly.
NPM page: https://www.npmjs.com/package/halfigs

Installation

npm install halfigs

User Guide

const {halfigs} = require('./main.bundle');

const {
  info,
  create,
  copy,
  remove
}=halfigs


copy.cp("./index.html", "./a/b/index.html").then(result => {
    console.log("cp", result);
    return remove.rm("./a");
}).then(result => {
    console.log("rm", result);
});

create.createNestedFile("./k/b/c/index.txt", "hello,file").then(result => {
    console.log("createNestedFile", result);
    return info.exists("./k/b/c/index.txt");
}).then(result => {
    console.log("exists", result);
});

Note

  • None

Resources

You can read halfigs Documentation online for more information.

License

halfigs uses the MIT license, see LICENSE file for the details.

Dependencies (0)

    Dev Dependencies (39)

    Package Sidebar

    Install

    npm i halfigs

    Weekly Downloads

    5

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    39 kB

    Total Files

    22

    Last publish

    Collaborators

    • systemlight