MCPcopy Index your code
hub / github.com/TypeStrong/ts-node / parse

Function parse

src/util.ts:57–59  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

55 * @internal
56 */
57export function parse(value: string | undefined): object | undefined {
58 return typeof value === 'string' ? JSON.parse(value) : undefined;
59}
60
61const directorySeparator = '/';
62const backslashRegExp = /\\/g;

Callers 2

index.tsFile · 0.90
versionGteLtFunction · 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…