@botmock-api/entity-map
v0.3.0
Published
map a custom entity name to its platform-specific value
Downloads
8
Readme
@botmock-api/entity-map
map a custom entity name to its platform-specific value
Installation
npm i @botmock-api/entity-map
findPlatformEntityEquivalent(entityName: string): string
import { default as findPlatformEntityEquivalent } from "@botmock-api/entity-map";
findPlatformEntityEquivalent("date", { platform: "dialogflow" });
// @sys.date
findPlatformEntityEquivalent("date", { platform: "amazon" });
// AMAZON.DATE