lakefs-ts 1.0.2
Install from the command line:
Learn more about npm packages
$ npm install @quannadev/lakefs-ts@1.0.2
Install via package.json:
"@quannadev/lakefs-ts": "1.0.2"
About this version
This is the Node.js client for lakeFS.
npm install lakefs-tsimport {Branch, getConfigFromEnv, QueryParams} from "../dist";
async function main() {
const config = getConfigFromEnv();
const branch = new Branch(config);
const params: QueryParams = {
amount: 100,
}
const branches = await branch.getBranches(params);
console.log("branches", branches)
}
main().catch(err => {
console.log("err", err)
process.exit(1);
})