open-index/open-npm huggingface dataset:
npm package: @khulnasoft/cli-interface
Description: Vulnmap CLI interface definitions
Author: khulnasoft.com
Latest version: 0.0.1

# vulnmap-cli-interface
Interface definitions for interactions between Vulnmap CLI and associated components:

* plugins for analyzing various build systems
* monitor states sent to khulnasoft.com website

This library should be only imported from Typescript.

The types can be imported in one of the following ways:

* whole sub-module import from the top level

    import { legacyPlugin as api } from '@khulnasoft/cli-interface';
    // use api.InspectOptions

* "deep import" (discouraged but possible)

    import { InspectOptions } from '@khulnasoft/cli-interface/legacy/plugin';

The `npm` package does not follow the usual Khulnasoft convention and
exports the build files in the root directory, not in dist, to enable "deep imports".

We still have to publish the package using the compiled files, because many tools in Node.js
ecosystem assume that published libraries should be always in Javascript.
npm package: @khulnasoft/client
Description: [![Join the community on GitHub Discussions](https://badgen.net/badge/join%20the%20discussion/on%20github/black?icon=github)](https://github.com/khulnasoft/devship/discussions)
Latest version: 13.1.9

# @khulnasoft/client

[![Join the community on GitHub Discussions](https://badgen.net/badge/join%20the%20discussion/on%20github/black?icon=github)](https://github.com/khulnasoft/devship/discussions)

The official Node.js client for deploying to [Vercel](https://vercel.com).

## Usage

Firstly, install the package:

```bash
npm install @khulnasoft/client
```

Next, load it:

```js
const { createDeployment } = require('@khulnasoft/client');
```

Then call inside a `for...of` loop to follow the progress with the following arguments:

- `<path>` - a directory path / file path / array of file paths (must be on the same level)
- `<options>` - An object containing `token`, an optional `teamId` and any `vercel.json`-valid [fields](https://khulnasoft.com/docs/api#endpoints/deployments/create-a-new-deployment)

```js
async function deploy() {
  let deployment;

  for await (const event of createDeployment({
    token: process.env.TOKEN,
    path: '/Users/me/Code/myproject',
  })) {
    if (event.type === 'ready') {
      deployment = event.payload;
      break;
    }
  }

  return deployment;
}
```

Full list of events:

```js
[
  // File events
  'hashes-calculated',
  'file-count',
  'file-uploaded',
  'all-files-uploaded',
  // Deployment events
  'created',
  'building',
  'ready',
  'alias-assigned',
  'warning',
  'error',
];
```

You can also get the events set programmatically:

```js
import { EVENTS } from '@khulnasoft/client';
```
npm package: @khulnasoft/edge
Description: A set of utilities to help you deploy any framework on the Edge using Vercel. Please [follow the documentation](https://khulnasoft.com/docs/concepts/functions/edge-functions/vercel-edge-package) for examples and usage.
Latest version: 1.1.3

# `@khulnasoft/edge`

A set of utilities to help you deploy any framework on the Edge using Vercel.
Please [follow the documentation](https://khulnasoft.com/docs/concepts/functions/edge-functions/vercel-edge-package) for examples and usage.