0.0.1-alpha-rc.3 • Published 2 years ago

dbt_ts_client v0.0.1-alpha-rc.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

dbt-ts-client

A module for running dbt via TypeScript/JavaScript

Usage

Installation

npm install dbt_ts_client

API

The module aims to replicate all methods and options of the dbt CLI. Please raise an issue if something is missing.

See docs/ for full documentation.

import DbtClient from 'dbt_ts_client'

const dbt = new DbtClient({ dbtProjectPath: '/path/to/dbt/project' })
await dbt.deps()
dbt.run()