Spaces:
Running
Running
Download node_modules/next/dist/server/lib/node-fs-methods.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 772 Bytes
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/lib/node-fs-methods.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/lib/node-fs-methods.js
-
curl -L -o node-fs-methods.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/lib/node-fs-methods.js
772 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| Object.defineProperty(exports, "nodeFs", { | |
| enumerable: true, | |
| get: function() { | |
| return nodeFs; | |
| } | |
| }); | |
| const _fs = /*#__PURE__*/ _interop_require_default(require("fs")); | |
| function _interop_require_default(obj) { | |
| return obj && obj.__esModule ? obj : { | |
| default: obj | |
| }; | |
| } | |
| const nodeFs = { | |
| existsSync: _fs.default.existsSync, | |
| readFile: _fs.default.promises.readFile, | |
| readFileSync: _fs.default.readFileSync, | |
| writeFile: (f, d)=>_fs.default.promises.writeFile(f, d), | |
| mkdir: (dir)=>_fs.default.promises.mkdir(dir, { | |
| recursive: true | |
| }), | |
| stat: (f)=>_fs.default.promises.stat(f) | |
| }; | |
| //# sourceMappingURL=node-fs-methods.js.map |