open-index/open-npm huggingface dataset:
npm package: @observablehq/autocomplete
Description: Autocompletion for the CodeMirror code editor
Author: Marijn Haverbeke
Latest version: 6.5.0

# @codemirror/autocomplete [![NPM version](https://img.shields.io/npm/v/@codemirror/autocomplete.svg)](https://www.npmjs.org/package/@codemirror/autocomplete)

[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#autocomplete) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md) ]

This package implements autocompletion for the
[CodeMirror](https://codemirror.net/) code editor.

The [project page](https://codemirror.net/) has more information, a
number of [examples](https://codemirror.net/examples/) and the
[documentation](https://codemirror.net/docs/).

This code is released under an
[MIT license](https://github.com/codemirror/autocomplete/tree/main/LICENSE).

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.
npm package: @observablehq/next
Description: The React Framework
Latest version: 12.2.5-alpha.2

<p align="center">
  <a href="https://nextjs.org">
    <img src="https://assets.vercel.com/image/upload/v1607554385/repositories/next-js/next-logo.png" height="128">
    <h1 align="center">Next.js</h1>
  </a>
</p>

<p align="center">
  <a aria-label="Vercel logo" href="https://vercel.com">
    <img src="https://img.shields.io/badge/MADE%20BY%20Vercel-000000.svg?style=for-the-badge&logo=Vercel&labelColor=000">
  </a>
  <a aria-label="NPM version" href="https://www.npmjs.com/package/next">
    <img alt="" src="https://img.shields.io/npm/v/next.svg?style=for-the-badge&labelColor=000000">
  </a>
  <a aria-label="License" href="https://github.com/vercel/next.js/blob/canary/license.md">
    <img alt="" src="https://img.shields.io/npm/l/next.svg?style=for-the-badge&labelColor=000000">
  </a>
  <a aria-label="Join the community on GitHub" href="https://github.com/vercel/next.js/discussions">
    <img alt="" src="https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?style=for-the-badge&logo=Next.js&labelColor=000000&logoWidth=20">
  </a>
</p>

## Getting Started

Visit <a aria-label="next.js learn" href="https://nextjs.org/learn">https://nextjs.org/learn</a> to get started with Next.js.

## Documentation

Visit [https://nextjs.org/docs](https://nextjs.org/docs) to view the full documentation.

## Who is using Next.js?

Next.js is used by the world's leading companies. Check out the [Next.js Showcase](https://nextjs.org/showcase) to learn more.

## Community

The Next.js community can be found on [GitHub Discussions](https://github.com/vercel/next.js/discussions), where you can ask questions, voice ideas, and share your projects.

To chat with other community members you can join the [Next.js Discord](https://nextjs.org/discord).

Our [Code of Conduct](https://github.com/vercel/next.js/blob/canary/CODE_OF_CONDUCT.md) applies to all Next.js community channels.

## Contributing

Please see our [contributing.md](/contributing.md).

### Good First Issues

We have a list of [good first issues](https://github.com/vercel/next.js/labels/good%20first%20issue) that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

## Authors

- Tim Neutkens ([@timneutkens](https://twitter.com/timneutkens))
- Naoyuki Kanezawa ([@nkzawa](https://twitter.com/nkzawa))
- Guillermo Rauch ([@rauchg](https://twitter.com/rauchg))
- Arunoda Susiripala ([@arunoda](https://twitter.com/arunoda))
- Tony Kovanen ([@tonykovanen](https://twitter.com/tonykovanen))
- Dan Zajdband ([@impronunciable](https://twitter.com/impronunciable))

## Security

If you believe you have found a security vulnerability in Next.js, we encourage you to responsibly disclose this and not open a public issue. We will investigate all legitimate reports. Email `security@vercel.com` to disclose any security vulnerabilities.

https://vercel.com/security
npm package: @observablehq/prettier-react-tachyons
Description: ![Node CI](https://github.com/observablehq/prettier-react-tachyons/workflows/Node%20CI/badge.svg)
Latest version: 1.2.0

## @observablehq/prettier-react-tachyons

![Node CI](https://github.com/observablehq/prettier-react-tachyons/workflows/Node%20CI/badge.svg)

A [prettier](https://prettier.io/) custom [parser plugin](https://prettier.io/docs/en/api.html#custom-parser-api)
for users of React and tachyons. It adds an extra prettier transform for `className=`
attributes on JSX elements, that takes care of the following:

- Eliminating redundant classes
- Sorting classes in a predictable order

### How do you use it?

This is admittedly a little bleeding-edge: prettier supports custom parsers,
but not custom rules / reformatters, so this essentially augments prettier's
`babylon`-based parser for JavaScript. You can configure prettier to point to it
with the `parser` option. For instance, here's how we configure prettier in our
`.prettierrc`:

```json
{
  "parser": "./node_modules/@observablehq/prettier-react-tachyons"
}
```

### Example:

in:

    <div className='h1 h1 w2 pv2 bg-transparent red' />

out:

    <div className='w2 h1 pv2 red bg-transparent' />
npm package: @observablehq/rollup-plugin-credits
Description: Generate credits information for included dependencies
Author: Tom MacWright
Latest version: 2.0.2

### rollup-plugin-credits

[![CircleCI](https://circleci.com/gh/observablehq/rollup-plugin-credits/tree/master.svg?style=svg)](https://circleci.com/gh/observablehq/rollup-plugin-credits/tree/master) [![Greenkeeper badge](https://badges.greenkeeper.io/observablehq/rollup-plugin-credits.svg)](https://greenkeeper.io/)

Generate 'credits' for included code: parses SPDX licenses, groups dependencies
by license, groups licensed dependencies by author. In the interest of creating
concise credits pages.

- Detects license **type** from the `license` specification in `package.json`, which
  is parsed as [SPDX](https://spdx.org/)
- Detects authorship from, in order of preference:
  1. `author` field in package.json
  1. `authors` field in package.json
  1. `maintainers` field in package.json
  1. Parsing a license file, one of
    - LICENSE
    - LICENSE.md
    - LICENSE.txt
    - license
    - license.md
    - license.txt

Instead of a code bundle, this produces a bundle of credits output. Typically
you'll run this to create a source file that powers your 'credits' page. The
format of this output is as an ES module with a default export. The export is
a list of licenses with `{ license, modules }` keys, which contain a list
of authors with `{ author, modules }` keys.

### Example output

```js
export default [
  {
    license: { license: "MIT" },
    modules: [
      {
        author: "James Halliday",
        modules: [
          "resumer",
          "object-inspect"
        ]
      },
      { author: "Dominic Tarr", modules: ["through"] },
      {
        author: "Marijn Haverbeke and Ingvar Stepanyan",
        modules: ["acorn"]
      }
    ]
  },
  {
    license: { license: "ISC" },
    modules: [{ author: "Isaac Z. Schlueter", modules: ["inherits"] }]
  }
];
```

#### Options

- whitelist: an array or Set of SPDX license identifiers that are allowed in the
  list. If provided and a non-whitelisted dependency is encountered, the transform
  will reject.
npm package: @observamax/sdk
Description: Official TypeScript/JavaScript SDK for ObservaMax API
Author: ObservaMax
Latest version: 1.0.0

# @observamax/sdk

Official TypeScript/JavaScript SDK for the ObservaMax API.

## Installation

```bash
npm install @observamax/sdk
# or
yarn add @observamax/sdk
# or
pnpm add @observamax/sdk
```

## Quick Start

```typescript
import { ObservaMax } from '@observamax/sdk';

const client = new ObservaMax({
  apiKey: process.env.OBSERVAMAX_API_KEY!,
});

// List all monitors
const { data: monitors } = await client.monitors.list();
console.log(`You have ${monitors.length} monitors`);

// Get a specific monitor
const monitor = await client.monitors.get('mon_abc123');
console.log(`${monitor.name}: ${monitor.lastStatus}`);

// Create a new monitor
const newMonitor = await client.monitors.create({
  url: 'https://api.example.com/health',
  name: 'Production API',
  checkInterval: 5,
});

// Pause a monitor
await client.monitors.pause(newMonitor.id);

// Resume a monitor
await client.monitors.resume(newMonitor.id);

// Get uptime statistics
const stats = await client.uptime.getStats('30d');
```

## API Reference

### Monitors

```typescript
// List monitors
const { data, meta } = await client.monitors.list({ page: 1, limit: 50 });

// Get a monitor
const monitor = await client.monitors.get('monitor_id');

// Create a monitor
const monitor = await client.monitors.create({
  url: 'https://example.com',
  name: 'My Website',
  checkInterval: 5,        // minutes
  expectedStatusCode: 200,
  timeoutMs: 30000,
  httpMethod: 'GET',
  tags: ['production'],
});

// Update a monitor
const updated = await client.monitors.update('monitor_id', {
  name: 'New Name',
  checkInterval: 10,
});

// Delete a monitor
await client.monitors.delete('monitor_id');

// Pause/Resume
await client.monitors.pause('monitor_id');
await client.monitors.resume('monitor_id');
```

### Alerts

```typescript
// List alerts
const { data: alerts } = await client.alerts.list();

// Get an alert
const alert = await client.alerts.get('alert_id');

// Acknowledge an alert
await client.alerts.acknowledge('alert_id');

// Resolve an alert
await client.alerts.resolve('alert_id');
```

### Uptime

```typescript
// Get overall uptime stats
const stats = await client.uptime.getStats('24h'); // or '7d', '30d'

// Get stats for a specific monitor
const monitorStats = await client.uptime.getMonitorStats('monitor_id', '7d');
```

## Error Handling

```typescript
import { ObservaMax, ApiError } from '@observamax/sdk';

try {
  await client.monitors.get('invalid_id');
} catch (error) {
  if (error instanceof ApiError) {
    console.error(`API Error: ${error.message} (${error.status})`);
  }
}
```

## Configuration

```typescript
const client = new ObservaMax({
  apiKey: 'om_live_...',
  baseUrl: 'https://observamax.com/api/v1', // default
  timeout: 30000, // 30 seconds, default
});
```

## License

MIT