Spaces:
Paused
Paused
Download node_modules/fs-extra/lib/json/output-json-sync.js from no1b4me/hytranslator: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/spaces/no1b4me/hytranslator/resolve/main/node_modules/fs-extra/lib/json/output-json-sync.js
- Command line
-
hf download hf://spaces/no1b4me/hytranslator/node_modules/fs-extra/lib/json/output-json-sync.js
-
curl -L -o output-json-sync.js https://huggingface.co/spaces/no1b4me/hytranslator/resolve/main/node_modules/fs-extra/lib/json/output-json-sync.js
276 Bytes
| const { stringify } = require('jsonfile/utils') | |
| const { outputFileSync } = require('../output-file') | |
| function outputJsonSync (file, data, options) { | |
| const str = stringify(data, options) | |
| outputFileSync(file, str, options) | |
| } | |
| module.exports = outputJsonSync | |