open-index/open-npm huggingface dataset:
npm package: @meta.inc/eslint-config
Description: General Typescript ESLint Rules I use.
Latest version: 1.0.0

# ES-Lint

General Typescript ESLint Rules I use.

To use in your project:
```
yarn add git+https://github.com/adiwajshing/eslint
```

Then create an `.eslintrc.json` like (can also be a yaml or js):
``` json
{
	"extends": "@adiwajshing"
}
```
npm package: @meta8/prodmetrics
Description: A javascript library for interacting with ProdMetrics.
Author: ProdMetrics
Latest version: 1.15.0

<p style="margin-top:16px;margin-bottom:32px;">
  <a href="https://www.prodmetrics.io" target="blank">
    <img src="https://app.prodmetrics.io/images/prodmetrics.svg" width="200" alt="ProdMetrics" />
  </a>
</p>

## Install ProdMetrics

In your application, install our JavaScript SDK to identify your users and
display surveys.

Replace `YOUR-API-KEY` with the unique API Key for your application. To find
your API Key, sign in to your ProdMetrics account and navigate to Settings >
Widget.

```html
<!-- Install ProdMetrics SDK -->
<script type="text/javascript">
  (function(n,t,a,e){var i="prodmetrics";n[i]=n[i]||function(){n[i].apiKey=e;(n[i].q=n[i].q||[]).push(arguments)};
  var r=t.createElement("script");r.async=!0,r.src=a,r.onload=function(){n.ProdMetrics=n.ProdMetrics.init(e);
  (n[i].q||[]).forEach(function(q){n.ProdMetrics[q[0]](q[1])});delete n[i]};
  var c=t.getElementsByTagName("script")[0];c.parentNode.insertBefore(r,c)})
  (window, document, "https://unpkg.com/@meta8/prodmetrics@latest/dist/index.js", "YOUR-API-KEY");
</script>
```

### Identifying users

Use the following code in your application wherever the user is logged in, and
might be shown a survey. The following code is an example; you'll need to modify
it to pass in your user's data.

```html
<!-- Identify the current user of your appliaction -->
<script>
  prodmetrics('user', {
    externalId: user.id,
    email: user.email,
    name: user.name,
    firstSeenAt: new Date(user.created).toISOString()
  });
</script>
```

## Documentation

Further documentation is available at [https://docs.prodmetrics.io](https://docs.prodmetrics.io).
npm package: @metabase/custom-viz
Description: Creating custom visualizations for Metabase
Latest version: 0.0.1-alpha.13

# @metabase/custom-viz

CLI and type definitions for creating custom visualizations for Metabase.

## Getting Started

### 1. Scaffold a new visualization

```bash
npx @metabase/custom-viz init my-viz
```

This creates a new directory with everything you need:

```
my-viz/
  src/index.tsx       # Your visualization code
  package.json
  vite.config.ts
  tsconfig.json
```

### 2. Install dependencies and start developing

```bash
cd my-viz
npm install
npm run dev        # Watch mode — rebuilds on changes
```

### 3. Build for production

```bash
npm run build
```

The build output will be in the `dist/` directory, ready to be loaded into Metabase.

## Project Structure

```
src/
  cli.ts            # CLI entry point (commander)
  index.ts          # Library entry point (type exports)
  templates.ts      # Scaffolding templates
  templates/        # Template files for `init` command
  types/            # Custom visualization type definitions
dist/               # Build output
vite.config.ts      # Vite build configuration
```