ampscript-data
Advanced tools
+1
-1
| { | ||
| "name": "ampscript-data", | ||
| "version": "3.0.0", | ||
| "version": "3.1.0", | ||
| "description": "Canonical AMPscript function catalog, keywords, and personalization strings for SFMC tooling", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+15
-1
@@ -23,2 +23,3 @@ # ampscript-data | ||
| AMPSCRIPT_KEYWORDS, | ||
| AMPSCRIPT_GLOBALS, | ||
| PERSONALIZATION_STRINGS, | ||
@@ -191,5 +192,18 @@ DEPRECATED_FUNCTIONS, | ||
| ### `AMPSCRIPT_GLOBALS` | ||
| An array of read-only AMPscript language globals that are not subscriber personalization attributes: | ||
| ```js | ||
| import { AMPSCRIPT_GLOBALS } from 'ampscript-data'; | ||
| for (const global of AMPSCRIPT_GLOBALS) { | ||
| console.log(global.name); // e.g. '@@ExecCtx' | ||
| console.log(global.description); // human-readable description | ||
| } | ||
| ``` | ||
| ### `PERSONALIZATION_STRINGS` | ||
| An array of AMPscript personalization string descriptors (subscriber attributes, system variables, etc.): | ||
| An array of AMPscript system personalization string descriptors, including subscriber attributes and message-context values: | ||
@@ -196,0 +210,0 @@ ```js |
Sorry, the diff of this file is too big to display
254315
2.13%5567
2.39%220
6.8%