Z User
phase7: MCP stdio smoke test (handshake + tools/list + get_roots 6:74) — 4/4 tests PASS
54a6341 Download node_modules/body-parser/index.js from bravesigma/quran-md-plugin: direct link, hf CLI and curl.
- Browser
- Download file 976 Bytes
-
https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/body-parser/index.js
- Command line
-
hf download hf://datasets/bravesigma/quran-md-plugin/node_modules/body-parser/index.js
-
curl -L -o index.js https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/body-parser/index.js
976 Bytes
| /*! | |
| * body-parser | |
| * Copyright(c) 2014-2015 Douglas Christopher Wilson | |
| * MIT Licensed | |
| */ | |
| /** | |
| * @typedef {Object} Parsers | |
| * @property {Function} json JSON parser | |
| * @property {Function} raw Raw parser | |
| * @property {Function} text Text parser | |
| * @property {Function} urlencoded URL-encoded parser | |
| */ | |
| /** | |
| * Module exports. | |
| * @type {Function & Parsers} | |
| */ | |
| exports = module.exports = bodyParser | |
| /** | |
| * JSON parser. | |
| * @public | |
| */ | |
| exports.json = require('./lib/types/json') | |
| /** | |
| * Raw parser. | |
| * @public | |
| */ | |
| exports.raw = require('./lib/types/raw') | |
| /** | |
| * Text parser. | |
| * @public | |
| */ | |
| exports.text = require('./lib/types/text') | |
| /** | |
| * URL-encoded parser. | |
| * @public | |
| */ | |
| exports.urlencoded = require('./lib/types/urlencoded') | |
| /** | |
| * Create a middleware to parse json and urlencoded bodies. | |
| * | |
| * @deprecated | |
| * @public | |
| */ | |
| function bodyParser () { | |
| throw new Error('The bodyParser() generic has been split into individual middleware to use instead.') | |
| } | |