Download node_modules/fast-check/lib/arbitrary/json.js from Really-amin/Datasourceforcryptocurrency: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/250b128700538234afd94de5d02f4e054f24823e/node_modules/fast-check/lib/arbitrary/json.js
- Command line
-
hf download hf://spaces/Really-amin/Datasourceforcryptocurrency@250b128700538234afd94de5d02f4e054f24823e/node_modules/fast-check/lib/arbitrary/json.js
-
curl -L -o json.js https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/250b128700538234afd94de5d02f4e054f24823e/node_modules/fast-check/lib/arbitrary/json.js
271 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.json = json; | |
| const jsonValue_1 = require("./jsonValue"); | |
| function json(constraints = {}) { | |
| const arb = (0, jsonValue_1.jsonValue)(constraints); | |
| return arb.map(JSON.stringify); | |
| } | |