MCPcopy Create free account
hub / github.com/Lemoncode/fonk / getArgsToParse

Function getArgsToParse

src/validators/validators.helpers.ts:3–4  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

1import { get } from '../helpers';
2
3const getArgsToParse = (message: string): string[] =>
4 message.match(/{{[^{}][\w\.]*}}/g);
5
6const getArgPath = (arg: string): string => arg.replace(/[{}]/g, '');
7

Callers 1

parseMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…