fs-extra-new
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

fs-extra-new

功能介绍

  1. 基于fs-extra@^9
  2. 继承所有fs-extra方法 https://www.npmjs.com/package/fs-extra
  3. 拓展 isDirectory 与 isDirectorySync 方法
  4. 所有方法默认返回 promise ,如果方法名以sync结尾则同步返回

安装

yarn add fs-extra-new
//or
npm install fs-extra-new

使用

import fs from 'fs-extra-new'

const isDirectory = await fs.isDirectory('./abc')

/fs-extra-new/

    Package Sidebar

    Install

    npm i fs-extra-new

    Weekly Downloads

    10

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    29.1 kB

    Total Files

    9

    Last publish

    Collaborators

    • g120hbq