Skip to main content
Glama
ToInt16.js•255 B
'use strict'; var ToUint16 = require('./ToUint16'); // https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; };

Latest Blog Posts

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/guangxiangdebizi/PPT-MCP'

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