open-index/open-npm huggingface dataset:
npm package: @aldridged/docusaurus-plugin-lunr
Description: Lunr Search for Docusaurus
Author: David Aldridge
Latest version: 1.0.0-alpha.10

# docusaurus-plugin-lunr

Docusaurus v2 plugin to create a local search index for use with Lunr.js

> **Note**: This library was created with [typescript-starter](https://github.com/bitjson/typescript-starter).
> Currently, the `test` target fails with Prettier formatting compliance errors. The plugin does build and run,
> so I'm ignoring Prettier for now.

## Installation

Install the plugin with npm:

```bash
npm install --save @aldridged/docusaurus-plugin-lunr
```

Add the plugin do `docusaurus.config.js`:

```javascript
module.exports = {
  // ...
  plugins: [
    // ...
    '@aldridged/docusaurus-plugin-lunr'
  ]
};
```

## Generated index

The plugin watches and processes markdown files in a similar manner to the official
[docusaurus-plugin-content-docs](https://github.com/facebook/docusaurus/tree/master/packages/docusaurus-plugin-content-docs) plugin. The content is stripped of HTML tags and Markdown formatting,
and the resulting plaintext is added to a [Lunr.js](https://lunrjs.com/) index which gets serialized to the standard Docusaurus v2 plugin [contentLoaded createData](https://v2.docusaurus.io/docs/lifecycle-apis#async-contentloadedcontent-actions) output location (by default, `<repo>/.docusaurus/docusaurus-plugin-lunr/search-index.json`).

The index contains the following fields for each document:

- **content**: plaintext content
- **route**: the permalink for the generated document route
- **title**: document title found in the front matter
- **version**: the associated documentation version, or `null` if no versions are present

## SearchBar component

The plugin includes a theme SearchBar theme component which consumes the Lunr index. By including the plugin in the
Docusaurus config, the Navbar will include the SearchBar component which uses the generated search index. This works
because the plugin-generated index is available via import, as the Docusaurus v2 core Webpack configuration configures
an alias for `@generated`.

## Known limitations

The custom React hook used by the SearchBar component performs a dynamic import via `import(@site/versions.json)`. If
a versions.json file is not present at the root of your docs repo, this will throw, and you apparently not catch that
error and use a default empty array. The versions.json file is not created until you use the Docusaurus CLI to archive
a varsion. Note that this plugin does not actually require you to have versions -- it only needs version.json, so the
current suggestion is to manually create the file with emtpy array contents.
npm package: @aledev-org/npm-lib-react-004-rollup-ok
Description: It is an UI React component library using rollup and typescript.
Author: Alejandro
Latest version: 0.0.8

# npm-lib-react-004-rollup-ok

<div style="display: flex; gap: 1rem; align-items: 'center';">
<a href="https://www.npmjs.com/package/@aledev-org/npm-lib-react-004-rollup-ok" target="_blank" rel="noopener noreferrer">
    <img alt="NPM Version" src="https://img.shields.io/npm/v/@aledev-org/npm-lib-react-004-rollup-ok">
</a>

<a href="https://www.npmjs.com/package/@aledev-org/npm-lib-react-004-rollup-ok" target="_blank" rel="noopener noreferrer">
    <img alt="NPM Downloads" src="https://img.shields.io/npm/dw/@aledev-org/npm-lib-react-004-rollup-ok">
</a>
</div>

## Installation

```bash
npm install @aledev-org/npm-lib-react-004-rollup-ok
```

## Usabe

```tsx
import { Button, Badge } from '@aledev-org/npm-lib-react-004-rollup-ok';

function App() {
  return (
    <div>
      <Button onClick={() => alert('Clicked!')}>Click Me</Button>
      <Badge text="New" />
    </div>
  );
}
```
npm package: @alefi/logger
Description: ## Overview
Author: Alexey Efimov
Latest version: 1.0.6

# Logger

## Overview

Nodejs logger with label, childs, tags, applicationId and request context support.

Currently logger has only console transport but has ability to be extended via plugin system.

Documentation available in following languages:

- [English](https://github.com/alefi/logger/blob/master/docs/en.md)
- [Русский](https://github.com/alefi/logger/blob/master/docs/ru.md)

[Changelog](https://github.com/alefi/logger/blob/master/CHANGELOG.md)
npm package: @aleios10/nuxt-scroll-spy-composable
Description: Nuxt module for vue3-scroll-spy-composable
Latest version: 1.0.0

# Nuxt Spy Scroll Composable

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

Nuxt module for @aleios10/vue3-scroll-spy-composable

<!-- - [🏀 Online playground](https://stackblitz.com/github/aleios/nuxt-scroll-spy-composable?file=playground%2Fapp.vue) -->

## Quick Setup

1. Add `@aleios10/nuxt-scroll-spy-composable` dependency to your project

```bash
# Using pnpm
pnpm add -D @aleios10/nuxt-scroll-spy-composable

# Using yarn
yarn add --dev @aleios10/nuxt-scroll-spy-composable

# Using npm
npm install --save-dev @aleios10/nuxt-scroll-spy-composable
```

2. Add `@aleios10/nuxt-scroll-spy-composable` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: [
    '@aleios10/nuxt-scroll-spy-composable'
  ]
})
```

## Development

```bash
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@aleios10/nuxt-scroll-spy-composable/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@aleios10/nuxt-scroll-spy-composable

[npm-downloads-src]: https://img.shields.io/npm/dm/@aleios10/nuxt-scroll-spy-composable.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@aleios10/nuxt-scroll-spy-composable

[license-src]: https://img.shields.io/npm/l/@aleios10/nuxt-scroll-spy-composable.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@aleios10/nuxt-scroll-spy-composable

[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @alejandronanez/lib
Description: ## Installation
Author: Alejandro Nanez
Latest version: 0.3.0

# lib

## Installation

To install this library, run:

```bash
$ npm install lib --save
```

## Consuming your library

Once you have published your library to npm, you can import your library in any Angular application by running:

```bash
$ npm install lib
```

and then from your Angular `AppModule`:

```typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { SampleModule } from 'lib';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify your library as an import
    LibraryModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
```

Once your library is imported, you can use its components, directives and pipes in your Angular application:

```xml
<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<sampleComponent></sampleComponent>
```

## Development

To generate all `*.js`, `*.d.ts` and `*.metadata.json` files:

```bash
$ npm run build
```

To lint all `*.ts` files:

```bash
$ npm run lint
```

## License

MIT © [Alejandro Nanez](mailto:alejonanez@gmail.com)
npm package: @alekmarinov/observablestore
Description: RxJS/Observable based memory store
Author: Alexander Marinov
Latest version: 2.0.1

# ObservableStore

RxJS/Observable based memory store

# API

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

-   [createItem](#createitem)
    -   [Parameters](#parameters)
-   [updateItem](#updateitem)
    -   [Parameters](#parameters-1)
-   [deleteItem](#deleteitem)
    -   [Parameters](#parameters-2)
-   [items](#items)
-   [item](#item)
    -   [Parameters](#parameters-3)
-   [size](#size)

## createItem

Creates new item in the store

### Parameters

-   `item` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** object to add to store

Returns **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** the item with added \_index property pointing the same item in the store

## updateItem

Updates item at specified index

### Parameters

-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** in store to be updated
-   `item` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** object used to update an existing item in the store.

Returns **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** the updated item

## deleteItem

Deletes item at specified index

### Parameters

-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** in store to be deleted

## items

Returns all items

Returns **[array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)** all existing items in the store

## item

Return an item at specified index

### Parameters

-   `index`  

Returns **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** an item

## size

Return the number of items in the store

Returns **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** number of items in the store