open-index/open-npm huggingface dataset:
npm package: @skewedaspect/redmock
Description: Mock Redis server for unit testing.
Author: Christopher S. Case
Latest version: 1.2.2

# RedMock

[![Build Status](https://travis-ci.com/SkewedAspect/redmock.svg?branch=master)](https://travis-ci.com/SkewedAspect/redmock)

Mock [Redis](http://redis.io) server for [Node](https://nodejs.org) unit tests.

Requires Node version 8.1.0 or higher for the newest language features.

## Purpose

This project was created to help unit test applications using Redis. Stubbing out the redis client to perform unit tests is problematic, because it requires tying tests to the api of a dependency, not the application code. Version upgrades, or other dependency changes. Instead, RedMock can be used to do full integration testing, without needing to start a real redis server.

## Fork

This project has been forked to update dependencies and try to bring the code base into a more modern state, thanks to advances in node.js since v5. The code is being cleaned up, and examples/tests are being updated.

## Usage

**npm**
```bash
$ npm install -D @skewedaspect/redmock
```

**yarn**
```bash
$ yarn add -D @skewedaspect/redmock
```

### Starting the server

Call the start method after creating a new instance of the RedisServer class. This method returns an ES6 promise.

```javascript
const RedisServer = require('@skewedaspect/redmock');

const redisServer = new RedisServer();

redisServer
    .start()
    .then((res) =>
    {
        // Server is now up
    })
    .catch((err) =>
    {
        // Deal with error
    });
```

### Stopping the server

Call the stop method. This method returns a promise. (This message does not error.)

```javascript
redisServer
    .stop()
    .then((res) =>
    {
        // Server is now stopped
    });
```

### Example test

```javascript
// require needed modules

describe('SomeTestSpec', () =>
{
    let redisServer, underTest;

    // Start the server
    before(() =>
    {
        redisServer = new RedisServer();
        return redisServer.start();
    });

    // Stop the server
    after(() =>
    {
        return redisServer.stop();
    });

    describe('#somemethod()', () =>
    {
        let underTest;
        beforeEach(() => 
        {
            underTest = new UnderTest();
        });

        it('should test it', () =>
        {
            return underTest.somemethod().should.eventually.equal(true);
        });
    });
});
```
npm package: @skewedaspect/saber-theme-minima
Description: [![npm](https://badgen.net/npm/v/saber-theme-minima)](https://npm.im/saber-theme-minima) [![circleci](https://badgen.net/circleci/github/saberland/saber-theme-minima/master)](https://circleci.com/gh/saberland/saber-theme-minima)
Latest version: 1.0.1

# saber-theme-minima

[![npm](https://badgen.net/npm/v/saber-theme-minima)](https://npm.im/saber-theme-minima) [![circleci](https://badgen.net/circleci/github/saberland/saber-theme-minima/master)](https://circleci.com/gh/saberland/saber-theme-minima)

> A Saber Port of the Default Jekyll Theme: Minima

## Install

```bash
yarn add saber-theme-minima
```

In your `saber-config.yml`:

```yml
theme: minima
```

This theme uses the following [Saber plugins](https://github.com/saberland/awesome-saber#plugins):

- `saber-plugin-query-posts`: Inject `posts` to homepage's `page` prop, generate tag pages.
- `saber-plugin-feed`: Generate RSS feed.

```bash
yarn add saber-plugin-query-posts saber-plugin-feed
```

```yml
plugins:
  - resolve: saber-plugin-query-posts
  - resolve: saber-plugin-feed
    options:
      atomFeed: true
```

## Layouts

- `post`: For blog post pages.
- `page`: For normal pages.
- `default`: For any other pages like homepage and tag pages.

## Site Config

Configure site title, description etc. in your `saber-config.yml`:

```yml
siteConfig:
  title: My Site
  description: About this website..
  author: My Name
  email: my@email.com
```

## Theme Config

### Navbar

Configure `nav` to show a set of links in header:

```yml
themeConfig:
  nav:
    - text: Home
      link: /
    - text: About
      link: /about.html
```

### Social

Configure the accounts of your social network to show at the bottom of homepage:

```yml
themeConfig:
  social:
    dribbble: username
    facebook: username
    flickr: username
    github: username
    instagram: username
    linkedin: username
    pinterest: username
    twitter: username
    youtube: username
    telegram: username
    microdotblog: username
    googleplus: username
    rss: true 
```

### Comments

You can use Disqus for comments:

```yml
themeConfig:
  disqus: disqus-short-name

# Note that `siteConfig.url` is required for Disqus
siteConfig:
  url: https://example.com
```

Comments are only enabled for `post` layout, to disable comments in specific page, you can use the page attribute `comments`:

```markdown
---
title: Hello
layout: post
date: 2018-08-12
comments: false
---

Hello World!
```

## License

MIT.
npm package: @skewedaspect/sage
Description: A modern JavaScript/TypeScript game engine built on top of BabylonJS that provides simplified abstractions for 3D game development.
Author: Christopher S. Case
Latest version: 0.9.3


# SkewedAspect Game Engine (SAGE)

<div align="center">

![SAGE Logo](https://gitlab.com/skewed-aspect/games/sa-game-engine/-/raw/main/docs/images/sage_logo.png)
</div>

The SkewedAspect Game Engine (SAGE) is a powerful and flexible game engine designed for creating 2D and 3D games. It leverages BabylonJS for rendering and Havok for physics simulation.

## Installation

To install the SAGE library, use npm:

```sh
npm install @skewedaspect/sage
```

## Usage

### Creating a Game Engine Instance

To create an instance of the SkewedAspect Game Engine, you need to provide a game canvas and rendering options.

```typescript
import { createGameEngine, GameCanvas, RenderEngineOptions } from '@skewedaspect/sage';

const canvas: GameCanvas = document.getElementById('gameCanvas') as HTMLCanvasElement;
const renderOptions: RenderEngineOptions = {
    // ...your rendering options...
};

const gameEngine = await createGameEngine(canvas, renderOptions);

// Start the game engine
gameEngine.start();
```

### Stopping the Game Engine

To stop the game engine, simply call the `stop` method on the game engine instance.

```typescript
gameEngine.stop();
```

## Releasing

Releases are done locally via the release script, which bumps the version, stamps the changelog, commits, tags,
and pushes. CI then auto-publishes to npm when it sees the version tag.

```sh
npm run release -- patch        # 0.8.0 -> 0.8.1
npm run release -- minor        # 0.8.0 -> 0.9.0
npm run release -- major        # 0.8.0 -> 1.0.0
npm run release -- prerelease --preid=beta   # 0.9.0 -> 0.9.1-beta.0
```

Requirements:
- Clean working tree (commit or stash first)
- On the `main` branch
- GitLab CI needs `NPM_ID_TOKEN` OIDC configured for npm provenance publishing

The script publishes both `@skewedaspect/sage` and `@skewedaspect/sage-vue` at the same version. Prereleases are
tagged as `next` on npm.

## Contributing

Contributions are welcome! Please open an issue or submit a merge request on GitLab.

## License

This project is licensed under the MIT License.
npm package: @skf-pa/product-assistant-widget
Description: SKF Product assistant chat widget
Author: SKF-AI Development
Latest version: 0.1.1

# SKF Product Assistant Widget

The SKF Product Assistant Widget is a dockable, self-contained React component intended to be embedded on external sites via NPM. It exposes a single `ProductAssistantWidget` component that owns its state, layout, and styling so hosts only need to mount it inside their applications.

## Getting started

```bash
cd SKF.Widget
npm install
npm run dev
```

The dev server mounts the widget inside a playground surface so you can iterate on styling and behaviour without needing to embed it manually. The preview automatically reloads as you edit files under `src/`.

## Building for NPM

```bash
npm run build
```

The build step emits type declarations plus ESM and CJS bundles under `dist/`. Publish with your preferred workflow:

```bash
npm publish --access public
```

Remember to update the `version` in `package.json` before publishing.

## Standalone browser demo

After running `npm run build`, open `examples/widget-demo.html` in any modern browser to see the widget rendered directly from the published `dist/` bundle (no dev server required). The page uses import maps to resolve `react`, `react-dom`, and the local library build so it mirrors how hosts can embed the widget.

## Project layout

- `src/components/` — React components scoped to the widget. `ProductAssistantWidget` is the primary export.
- `src/hooks/` — Custom React hooks (placeholder for upcoming logic).
- `src/services/` — Non-UI helpers such as network access (placeholder).
- `src/contexts/` — Context providers for shared widget state.
- `src/styles/` — Optional shared style artifacts.
- `src/dev/` — Local-only development playground wiring used by Vite.

`react-markdown` ships with the package so Markdown rendering works out-of-the-box for host applications.