messaging-api-common provides shared utilities (case conversion and Axios request interceptors) for the messaging-apis family of chatbot SDKs (Messenger, LINE, Slack, Viber, Telegram). Currently at v1.0.4 (Jan 2021) with no further releases; the project has moved to v1.1.x of other packages but this common package remains unchanged. Keys differ from alternatives by offering both shallow and deep snakecase/camelcase/pascalcase conversions plus a factory for Axios interceptors. TypeScript types are included.
npm install messaging-api-commonVerified import paths — ran on the pinned version, not inferred.
Demonstrates deep snakecase conversion, shallow camelcase conversion, and adding an Axios request interceptor.
Use the *Deep variants for recursive conversion.
Migrate to newer messaging-apis packages that include these utilities internally.
Manually handle arrays or use a custom conversion function.
Use import syntax or set type: 'module' in package.json and use import.
Run 'npm install messaging-api-common' and ensure the package is in 'dependencies'.
No dependency data recorded yet.