open-index/open-npm huggingface dataset:
npm package: @klevu/indexing
Description: Klevu's Indexing API is an advanced tool designed to enhance catalog management for e-commerce merchants. This package provides an easy-to-use function `createKlevuClient` for integrating Klevu's Indexing API into your e-commerce platform, allowing for ef
Author: Klevu Ltd
Latest version: 0.0.2

# @klevu/indexing

Klevu's Indexing API is an advanced tool designed to enhance catalog management
for e-commerce merchants. This package provides an easy-to-use function
`createKlevuClient` for integrating Klevu's Indexing API into your e-commerce
platform, allowing for efficient operations on a wide range of items in your
store catalog, including products, categories, content pages, and other entity
types.

## Features

Simplifies integration with Klevu's Indexing API. Enables operations on various
catalog items. Supports custom entity types based on business needs.
## Installation

Install the package using npm:

```bash
npm install @klevu/indexing
```

## Usage

To use the package, import and initialize the client with your API key and REST
key:

```javascript
const { createKlevuClient } = require('@klevu/indexing');

const client = createKlevuClient('your_api_key', 'your_rest_key', options);
```

### Options

The `createKlevuClient` function can accept an optional `options` object for
additional configuration.

### Examples

Here's a basic example of how to use the client:

```javascript
const { createKlevuClient } = require("@klevu/indexing")

async function main() {
  const api = createKlevuClient(API_KEY, REST_KEY, {
    logger: true,
  });

  const listAttributesResponse = await api.listAttributes();
  console.log({ listAttributesResponse });
}
main()

```

For more information, refer to the Klevu Indexing API documentation.

## API Reference

For a complete list of available methods and their descriptions, please refer to
the [Klevu Indexing API documentation](https://docs.klevu.com/indexing-apis/api-definition).

## Contributing

Contributions to improve the package are welcome. Please follow the contribution
guidelines in the repository.

## License

This package is licensed under MIT.

## Support

For support, please contact support@klevu.com.
npm package: @klevu/ui
Description: Klevu UI web components. Klevu provides advanced AI-powered search and discovery solutions for online retailers.
Latest version: 3.0.0

# @klevu/ui

The @klevu/ui package provides a set of UI components that can be easily integrated into your web application. These components are built using StencilJS and are designed to be used as web components, allowing you to easily include them in your existing web application.

Read more and learn: https://webcomponents.klevu.com

## Installation

To install @klevu/ui, you can use npm or yarn:

```sh
npm install @klevu/ui
```

```sh
yarn add @klevu/ui
```

## Usage

Once you have installed @klevu/ui, you can import the components you need and use them in your application:

```html
Copy code
<!DOCTYPE html>
<html>
  <head>
    <script type="module" src="path/to/@klevu/ui.js"></script>
  </head>
  <body>
    <klevu-button>Click me</klevu-button>
  </body>
</html>
```

## Generating parts

Special thing about Klevu UI components is that all parts of the subcomponents are exposed to main component in order to make things editable.

To generate list of parts that can be modified for documentation and development purposes use `npm run generate:parts` command to generate them.

## Icons

Some of the icons are preloaded into the project in order to improve performance of the library. These files are manated in `preloaded-icons.json` file in klevu-icons component.

After updating that file it is possible to run `npm run generate:icons` that will automatically download specified icons from Github.

## Contributing

If you would like to contribute to @klevu/ui, please follow these steps:

- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them with a descriptive message.
- Push your changes to your fork.
- Create a pull request.

## License

@klevu/ui is licensed under the MIT License.