open-index/open-npm huggingface dataset:
npm package: @flag.io/core
Description: Feature flag management sdk
Latest version: 0.1.3

## flag.io SDK

Biblioteca onde pode ser recuperada todas as informações de _feature flags_

```ts
const { setup } = require("@flag.io/core");

const flagsApi = setup({
  token: "ZGNa6pGrKW7vM1WWV8osvw==",
  environment: "test",
  projectId: "03b6f890-fcd7-452a-aa25-58c8a204927b",
});

type FlagProps = {
  name: string;
  description?: string;
  active: boolean;
  disabled: boolean;
};

const testFlag: FlagProps = await flagsApi.getEnv("TEST_FLAG");
if (testFlag.active) {
  // Do something cool!
}
```
npm package: @flag.io/sdk
Description: Feature flag management sdk
Latest version: 0.1.2

## flag.io SDK
Biblioteca onde pode ser recuperada todas as informações de _feature flags_

```ts
const { setup } = require("flag.io-core");

const flagsApi = setup({
  token: "ZGNa6pGrKW7vM1WWV8osvw==",
  environment: "test",
  projectId: "03b6f890-fcd7-452a-aa25-58c8a204927b",
});

type FlagProps = {
  name: string;
  description?: string;
  active: boolean;
  disabled: boolean;
}

const testFlag: FlagProps = await flagsApi.getEnv("TEST_FLAG");
if (testFlag.active) {
  // Do something cool!
}
```