{"library":"grpc-create-metadata","type":"library","category":null,"description":"This utility package, `grpc-create-metadata`, provides a straightforward helper function to convert plain JavaScript objects into gRPC `Metadata` instances. It automatically handles type conversion for common primitives like numbers and booleans by calling their `toString()` method, while `Buffer` and `String` values are passed directly. The package is currently at version 4.0.1 and primarily receives updates for dependency maintenance, especially related to its `@grpc/grpc-js` peer dependency. Its core differentiation lies in simplifying the common task of populating `grpc.Metadata` objects, which strictly require string or buffer values, by abstracting the conversion logic, making it easier for developers to work with gRPC services in Node.js. It maintains a stable, albeit infrequent, release cadence driven by underlying gRPC dependency updates and security patches.","language":"javascript","status":"active","version":"4.0.1","tags":["javascript","protocol buffer","protobuf","grpc","metadata"],"last_verified":"Wed May 27","install":[{"cmd":"npm install grpc-create-metadata","imports":["import create from 'grpc-create-metadata';","import { Metadata } from '@grpc/grpc-js';","import { Client, credentials } from '@grpc/grpc-js';"]},{"cmd":"yarn add grpc-create-metadata","imports":[]},{"cmd":"pnpm add grpc-create-metadata","imports":[]}],"homepage":null,"github":"https://github.com/bojand/grpc-create-metadata","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/grpc-create-metadata","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/grpc-create-metadata/compatibility"}}