memory-fs
memory-fs copied to clipboard
[DEPRECATED use memfs instead] A simple in-memory filesystem. Holds data in a javascript object.
I'm trying to use this package on windows but i keep getting error : `throw new MemoryFileSystemError(errors.code.ENOENT, _path)` In orer to debug the issue, i tried this and am still...
I'm not sure if this issue is with `webpack-dev-server` or `memory-fs`, however when I serve from a file path which includes spaces on Windows things do not work. My bundles...
Continuing discussions from here - https://twitter.com/TheLarkInn/status/855369900914855937 At my recent talk at React London I mentioned that we use MemoryFS as the input filesystem for webpack in our bundling service -...
Related: https://github.com/webpack/webpack-dev-middleware/pull/366 This PR is an attempt to re-imagine `memory-fs` as a bridge to [`memfs`](memfs). I have simply extended `Volume` and added compatibility methods like `normalize` that the legacy `memory-fs`...
fs api: https://nodejs.org/api/fs.html#fs_fs_rename_oldpath_newpath_callback
```javascript const { promisify } = require('util') const fs = require('fs') promisify(fs.readFile)('/hello.txt', 'utf-8') // work well .then(console.log.bind(console)) .catch(console.log.bind(console)) // but...when I use `memory-fs` in my project... const MemoryFileSystem = require('memory-fs')...
Hi @sokra, would it be possible to release a new minor version of this package with license file in it? Right now is not possible to use it due to...
Fixes https://github.com/webpack/memory-fs/issues/57 This aligns `memory-fs` with native `fs` behavior when it comes to empty/missing arguments for `writeFileSync`
The original Node implementation of `rmdirSync` throws an error if the directory is not empty. The implementation in `memory-fs` quietly deletes the directory an all its contents. `rmdirSync` effectively behaves...
Hi, the release of this package has not updated for a long time, we have to install it by git dep for using recently commits for a while. Also webpack4...