Skip to main content
Glama
NumberToString.js•400 B
'use strict'; var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = require('es-errors/type'); // https://262.ecma-international.org/9.0/#sec-tostring-applied-to-the-number-type module.exports = function NumberToString(m) { if (typeof m !== 'number') { throw new $TypeError('Assertion failed: "m" must be a String'); } return $String(m); };

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