open-index/open-npm huggingface dataset:
npm package: @laboratoria/cli
Description: Laboratoria Command Line Client.
Latest version: 0.1.0

# Laboratoria CLI

Laboratoria Command Line Client.

```sh
npm i -g @laboratoria/cli
```

```
Usage: laboratoria [options] [command]

Options:

  -h, --help        Show help.
  -v, --version     Show version.
  -f, --format      Output format. Either "text" (default), "json" or "csv".

Commands:

  help
  signin [email]
  signout
  whoami
  users:ls  [--where] [--sort] [--order] [--skip] [--take]
  users:get <uid>
  users:up <uid> [--firstName] [--lastName] [--lang] [--github] [--linkedin] [--bio] [--roles]
  users:rm <uid>
  cohorts:ls  [--where] [--sort] [--order] [--skip] [--take]
  cohorts:get <id>
  cohorts:new  <--programId> <--stageId> <--name> <--start> <--end> <--legacySlug>
  cohorts:up <id> [--programId] [--stageId] [--name] [--start] [--end]
  cohorts:rm <id>
  students:ls  [--where] [--sort] [--order] [--skip] [--take]
  students:get <id>
  students:new  <--cohortId> <--uid> [--studentCode]
  students:up <id> [--studentCode]
  students:rm <id>
  dropouts:ls  [--where] [--sort] [--order] [--skip] [--take]
  dropouts:get <id>
  dropouts:new  <--cohortId> <--uid> <--date> <--reason> <--reasonDetail> <--project> <--stage> <--notes> <--staffSad> [--covidRelated]
  dropouts:up <id>
  dropouts:rm <id>
  contracts:ls  [--where] [--sort] [--order] [--skip] [--take]
  contracts:get <id>
  contracts:new
  contracts:up <id>
  contracts:rm <id>
  gigs:ls  [--where] [--sort] [--order] [--skip] [--take]
  gigs:get <id>
  gigs:new
  gigs:up <id>
  gigs:rm <id>
  projects:ls  [--tag] [--locale] [--track]
  projects:get <slug> [--tag]
  topics:ls  [--tag] [--locale] [--track]
  topics:get <slug> [--tag]
  learning-objectives:ls  [--lang]
  learning-objectives:get <slug> [--lang]
```

```sh
laboratoria signin lupo@laboratoria.la

laboratoria users:ls --where '{"email":{"contains":"lupo"}}'

laboratoria users:ls --where '{"roles":{"has":"admin"}}' --take 20
```

## Env vars

* `FIREBASE_API_KEY`
* `FIREBASE_PROJECT`
* `LABORATORIA_CORE_API_URL`
npm package: @laboratoria/hubspot
Description: Unofficial Hubspot Node.js client
Latest version: 1.0.3

# Unofficial Hubspot Node.js client

[![Node.js CI](https://github.com/Laboratoria/hubspot/actions/workflows/node.js.yml/badge.svg)](https://github.com/Laboratoria/hubspot/actions/workflows/node.js.yml)

:warning: This tool is still in draft stage and is likely to change without
notice.

## Installation

```sh
npm i --save @laboratoria/hubspot
```

## Usage


```js
import { createClient as createHubSpotClient } from '@laboratoria/hubspot';

const hubspot = createHubSpotClient('<YOUR-HUBSPOT-PRIVATE-APP-TOKEN>');
```

```js
const resultsStream = hubspot.deals.search({
  limit: 10,
  sorts: [{
    propertyName: 'hs_lastmodifieddate',
    direction: 'DESCENDING',
  }],
  properties: ['dealname', 'industria'],
  filterGroups: [{
    filters: [{
      value: '1546080',
      propertyName: 'pipeline',
      operator: 'EQ',
    }],
  }],
});

resultsStream.on('error', (err) => {
  // ...
});

resultsStream.on('data', (results) => {
  // ...
});

resultsStream.on('end', () => {
  // ...
});
```

```js
hubspot.deals.getAll()
  .on('error', (error) => {
    console.error(error);
  })
  .on('data', (deals) => {
    console.log(deals);
  })
  .on('end', () => {
    console.log('ended!');
  });
```