nomad

@lacrypta/nomad v0.0.0 / dependencyCreate

Function: dependencyCreate()

function dependencyCreate(
   name: string, 
   code?: string, 
   dependencies?: Record<string, string>): Dependency

Construct a new Dependency from the given arguments.

Parameters

name: string

Name to use for constructing the Dependency.

code?: string

Function body to use for constructing the Dependency.

dependencies?: Record<string, string>

Dependencies map to use for constructing the Dependency.

Returns

Dependency

The constructed Dependency.

Defined in

index.ts:40