node-fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs()

  •        158

fs-extra adds file system methods that aren't included in the native fs module and adds promise support to the fs methods. It should be a drop in replacement for fs.I got tired of including mkdirp, rimraf, and ncp in most of my projects.

https://github.com/jprichardson/node-fs-extra

Dependencies:

graceful-fs : ^4.1.2
jsonfile : ^4.0.0
universalify : ^0.1.0

Tags
Implementation
License
Platform

   




Related Projects

wrench-js - Recursive file operations in Node.js

  •    Javascript

wrench.js is deprecated, and hasn't been updated in quite some time. I heavily recommend using fs-extra to do any extra filesystem operations. Wrench was built for the early days of Node, and it solved a problem that needed solving. I'm proud of what it's done; at the time of writing this, it was still downloaded over 25,000 times yesterday, and over 500,000 times in the last month. The fact that it wound up being embedded in so many projects is humbling and a great source of fun for me, but I just don't have the time to keep up with this at the moment. No alternate maintainers have appeared, and fs-extra is very well maintained anyway - one community solution is likely better.

node-jsonfile - Easily read/write JSON files.

  •    Javascript

Easily read/write JSON files in Node.js. Note: this module cannot be used in the browser.Writing JSON.stringify() and then fs.writeFile() and JSON.parse() with fs.readFile() enclosed in try/catch blocks became annoying.

FCFileManager - iOS File Manager on top of NSFileManager for simplifying files management.

  •    Objective-C

iOS File Manager on top of NSFileManager for simplifying files management. It provides many static methods for executing most common operations with few lines of code. It works by default in the Documents directory to allow use of relative paths, but it's possible to work easily on any other directory. Copy FCFileManager.h and FCFileManager.m to your project.

watchr - Better file system watching for Node

  •    Javascript

Watchr provides a normalised API the file watching APIs of different node versions, nested/recursive file and directory watching, and accurate detailed events for file/directory creations, updates, and deletions.Older environments may need Babel's Polyfill or something similar.

del - Delete files and directories

  •    Javascript

Similar to rimraf, but with a Promise API and support for multiple files and globbing. It also protects you against deleting the current working directory and above.Support this project and improve your JavaScript skills with this great ES6 course by Wes Bos. Try his free JavaScript 30 course for a taste of what to expect. You might also like his React and Sublime course.


CherryTree - A hierarchical note taking application

  •    C++

A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file.

copy-webpack-plugin - Copy files and directories with webpack

  •    Javascript

ℹī¸ If you want webpack-dev-server to write files to the output directory during development, you can force it with the write-file-webpack-plugin.

fs-jetpack - Better file system API for Node.js

  •    Javascript

Node's fs library is very low level and because of that often painful to use. fs-jetpack wants to fix that by giving you completely rethought, much more convenient API to work with file system.Check out EXAMPLES to see few snippets what it can do.

browser-fs-access - File System Access API with legacy fallback in the browser

  •    Javascript

This module allows you to easily use the File System Access API on supporting browsers, with a transparent fallback to the <input type="file"> and <a download> legacy methods. This library is a ponyfill. Read more on the background of this module in my post Progressive Enhancement In the Age of Fugu APIs.

mock-fs - Configurable mock for the fs module

  •    Javascript

The mock-fs module allows Node's built-in fs module to be backed temporarily by an in-memory, mock file system. This lets you run tests against a set of mock files and directories instead of lugging around a bunch of test fixtures. The code below makes it so the fs module is temporarily backed by a mock file system with a few files and directories.

vinyl-fs - Vinyl adapter for the file system.

  •    Javascript

Vinyl adapter for the file system. Vinyl is a very simple metadata object that describes a file. When you think of a file, two attributes come to mind: path and contents. These are the main attributes on a Vinyl object. A file does not necessarily represent something on your computer’s file system. You have files on S3, FTP, Dropbox, Box, CloudThingly.io and other services. Vinyl can be used to describe files from all of these sources.

pyfilesystem2 - Python's Filesystem abstraction layer

  •    Python

Python's Filesystem abstraction layer. Think of PyFilesystem's FS objects as the next logical step to Python's file objects. In the same way that file objects abstract a single file, FS objects abstract an entire filesystem.

node-graceful-fs - fs with incremental backoff on EMFILE

  •    Javascript

graceful-fs functions as a drop-in replacement for the fs module, making various improvements.The improvements are meant to normalize behavior across different platforms and environments, and to make filesystem access more resilient to errors.

BrowserFS - BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends

  •    Javascript

BrowserFS is an in-browser file system that emulates the Node JS file system API and supports storing and retrieving files from various backends. BrowserFS also integrates nicely into the Emscripten file system. More backends can be defined by separate libraries, so long as they extend the BaseFileSystem class. Multiple backends can be active at once at different locations in the directory hierarchy.

markor - Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..

  •    Java

Markor is a TextEditor for Android. This project aims to make an editor that is versatile, flexible, and lightweight. Markor utilizes simple markup formats like Markdown and todo.txt for note-taking and list management. It is versatile at working with text; it can also be used for keeping bookmarks, copying to clipboard, fast opening a link from text and lots more. Created files are interoperable with any other plaintext software on any platform. Markor is openly developed free software that accepts community contributions. 📝 Create notes and manage your to-do list using simple markup formats 🌲 Work completely offline -- whenever, wherever 👌 Compatible with any other plaintext software on any platform -- edit with notepad or vim, filter with grep, convert to PDF or create a zip archive 🖍 Syntax Highlighting and format related actions -- quickly insert pictures and to-dos 👀 Convert, preview, and share documents as HTML and PDF 📚 Notebook: Store all documents on a common filesystem folder 📓 QuickNote: Fast accessible for keeping notes ☑ī¸ To-Do: Write down your to-do 🖍 Formats: Markdown, todo.txt, csv, ics, ini, json, toml, txt, vcf, yaml 📋 Copy to clipboard: Copy any text, including text shared into Markor 💡 Notebook is the root folder of documents and can be changed to any location on the filesystem. QuickNote and To-Do are textfiles 🎨 Highly customizable, dark theme available 💾 Auto-Save with options for undo/redo 👌 No ads or unnecessary permissions 🌎 Language selection -- use other language than on the system 🔃 Markor is an offline app. It works with sync apps, but they have to do syncing respectively. Sync clients known to work in combination include BitTorrent Sync, Dropbox, FolderSync, OwnCloud, NextCloud, Seafile, Syncthing, Syncopoli 🔒 Can encrypt your textfiles with AES256. You need to set a password at the settings and use Android device with version Marshmallow or newer. You can use jpencconverter to encrypt/decrypt easily on desktop. Be aware that only the text is encrypted not pictures or attachments.

PHP File Manager

  •    PHP

phpFileManager is a complete filesystem management tool on a single file. Features: server info, directory tree, copy/move/delete/create/rename/edit/view/chmod files and folders, tar/zip/bzip/gzip, multiple uploads, shell/exec, works on linux/windows

Grinder

  •    

Grinder is a file processing engine built on Windows Workflow. The purpose of Grinder is to make file processing chores as simple as possible. It provides all of the usual file handline routines (copy/move/delete) along with extra features like FTP, HTTP Put, ZIP/UNZIP and a ...

node-mkdirp - Recursively mkdir, like `mkdir -p`, but in node.js

  •    Javascript

Create a new directory and any necessary subdirectories at dir with octal permission string opts.mode. If opts is a non-object, it will be treated as the opts.mode.If opts.mode isn't specified, it defaults to 0777 & (~process.umask()).

zbox - Zero-details, privacy-focused embeddable file system.

  •    Rust

Zbox is a zero-details, privacy-focused embeddable file system. Its goal is to help application store files securely, privately and reliably. By encapsulating files and directories into an encrypted repository, it provides a virtual file system and exclusive access to authorised application. Unlike other system-level file systems, such as ext4, XFS and Btrfs, which provide shared access to multiple processes, Zbox is a file system that runs in the same memory space as the application. It only provides access to one process at a time.

ad-ldap-enum - An LDAP based Active Directory user and group enumeration tool

  •    Python

ad-ldap-enum is a Python script that was developed to discover users and their group memberships from Active Directory. In large Active Directory environments, tools such as NBTEnum were not performing fast enough. By executing LDAP queries against a domain controller, ad-ldap-enum is able to target specific Active Directory attributes and build out group membership quickly. ad-ldap-enum outputs three tab delimited files 'Domain Group Membership.tsv', 'Extended Domain User Information.tsv', and 'Extended Domain Computer Information.tsv'. The first file contains users, computers, groups, and their memberships. The second file contains users and extra information about the users from Active Directory (e.g. a user's home folder or email address). The third file contains devices in the Domain Computers group and extra information about them from Active Directory (e.g. operating system type and service pack version).






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.