Skip to main content
Glama

Weather & Stock MCP Server

by Jeetinida
esnext.uint8-array.set-from-hex.js726 B
'use strict'; var $ = require('../internals/export'); var globalThis = require('../internals/global-this'); var aString = require('../internals/a-string'); var anUint8Array = require('../internals/an-uint8-array'); var notDetached = require('../internals/array-buffer-not-detached'); var $fromHex = require('../internals/uint8-from-hex'); // `Uint8Array.prototype.setFromHex` method // https://github.com/tc39/proposal-arraybuffer-base64 if (globalThis.Uint8Array) $({ target: 'Uint8Array', proto: true }, { setFromHex: function setFromHex(string) { anUint8Array(this); aString(string); notDetached(this.buffer); var read = $fromHex(string, this).read; return { read: read, written: read / 2 }; } });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jeetinida/stocknews-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server