New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

halfigs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

halfigs

Halfigs allows you to delete, copy or create folders directly.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

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.

Keywords

halfigs

FAQs

Package last updated on 03 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts