NodeJS
No long description provided.
Installation
dagger install github.com/RawkodeAcademy/RawkodeAcademy/daggerverse/nodejs@3ab311052a09fcb3d65da63f7ae528811252c0a8
Types
NodeJs 🔗
withBun() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directory | Directory ! | - | No description provided |
version | String ! | "latest" | No description provided |
Example
dagger -m github.com/RawkodeAcademy/RawkodeAcademy/daggerverse/nodejs@3ab311052a09fcb3d65da63f7ae528811252c0a8 call \
with-bun --directory DIR_PATH --version string
func (m *myModule) example(directory *Directory, version string) *Container {
return dag.
NodeJS().
WithBun(directory, version)
}
@function
def example(directory: dagger.Directory, version: str) -> dagger.Container:
return (
dag.node_j_s()
.with_bun(directory, version)
)
@func()
example(directory: Directory, version: string): Container {
return dag
.nodeJS()
.withBun(directory, version)
}
withNpm() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directory | Directory ! | - | No description provided |
version | String ! | "latest" | No description provided |
Example
dagger -m github.com/RawkodeAcademy/RawkodeAcademy/daggerverse/nodejs@3ab311052a09fcb3d65da63f7ae528811252c0a8 call \
with-npm --directory DIR_PATH --version string
func (m *myModule) example(directory *Directory, version string) *Container {
return dag.
NodeJS().
WithNpm(directory, version)
}
@function
def example(directory: dagger.Directory, version: str) -> dagger.Container:
return (
dag.node_j_s()
.with_npm(directory, version)
)
@func()
example(directory: Directory, version: string): Container {
return dag
.nodeJS()
.withNpm(directory, version)
}