open-index/open-npm huggingface dataset:
npm package: @skroutz/karma-json-reporter
Description: JSON reporter for Karma
Author: Douglas Duteil
Latest version: 1.5.2

# karma-json-reporter [![NPM version](https://badge.fury.io/js/karma-json-reporter.png)](http://badge.fury.io/js/karma-json-reporter)

> JSON reporter for Karma


## Installation

The easiest way is to keep `karma-json-reporter` as a devDependency in your `package.json`.

```json
{
  "devDependencies": {
    "karma": "~0.10",
    "karma-json-reporter": "~1.1"
  }
}
```

You can simple do it by:
```bash
npm install karma-json-reporter --save-dev
```

## Usage

Use it as a reporter

```js
// karma.conf.js
module.exports = function(config) {
  // ...

    // json reporter directly output stringified json
    reporters: ['json'],
    jsonReporter: {
      stdout: true,
      outputFile: 'results.json' // defaults to none
    }

  // ...
};
```

## Output data


```js
{
  "browsers": { // Collection of used browser
    "<browser.id>": {
      "id": "<same browser.id>",
      "fullName": String,
      "name": String,
      "state": Number,
      "lastResult": {
        "success":Number,
        "failed": Number,
        "skipped": Number,
        "total": Number,
        "totalTime": Number,
        "netTime":Number,
        "error": Boolean,
        "disconnected": Boolean
      },
      "launchId": Number
    }
  },
  "result": { // Collection result per browser
    "<browser.id>": [
      {
        "id": Number, // spec.id
        "description": String, // spec.description
        "suite": Array.of(String), // spec.suite
        "success": Boolean,
        "skipped": Boolean,
        "time": Number,
        "log": Array.of(String), // spec.log
      },
    ]
  },
  "summary": {
    "success": Number, // total number of success
    "failed": Number, // total number of fail
    "error": Boolean,
    "disconnected": Boolean,
    "exitCode": Number
  }
}
```

[Output exemple](https://gist.github.com/douglasduteil/8039664)
npm package: @skroutz/ssr
Description: React ssr service
Latest version: 0.0.10
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Skroutz SSR

This service provides server-side rendering (SSR) for React components using Node.js worker threads. Each worker runs in its own OS thread, enabling efficient CPU-bound rendering across multiple cores. Communication between the main process and workers is handled via message passing.

## Configuration

Set the following environment variables to configure the service:

- `SSR_BUNDLE` (required): Path to the SSR bundle with your React components.
- `SSR_PORT` or `PORT` (optional): Port for the HTTP server (default: 3030).
- `SSR_POOL_SIZE` (optional): Number of worker threads to spawn (default: 1).
- `NODE_ENV` (optional): Set to `development` to enable bundle watching.

## Getting Started

**Start the service:**
```
SSR_BUNDLE={rel_path_to_bundle_file} ./bin/ssr-service.mjs
```

**Run tests:**
```
yarn test
```

**Lint and auto-fix code:**
```
yarn lint:fix
```
npm package: @skroutz/susuro
Description: Server-side rendering service for Skroutz
Latest version: 0.0.13

# Skroutz SSR

This service provides server-side rendering (SSR) for React components using Node.js worker threads. Each worker runs in its own OS thread, enabling efficient CPU-bound rendering across multiple cores. Communication between the main process and workers is handled via message passing.

## Configuration

Set the following environment variables to configure the service:

- `SSR_BUNDLE` (required): Path to the SSR bundle with your React components.
- `SSR_PORT` or `PORT` (optional): Port for the HTTP server (default: 3030).
- `SSR_POOL_SIZE` (optional): Number of worker threads to spawn (default: 1).
- `NODE_ENV` (optional): Set to `development` to enable bundle watching.

## Getting Started

**Start the service:**
```
SSR_BUNDLE={rel_path_to_bundle_file} ./bin/ssr-service.mjs
```

**Run tests:**
```
yarn test
```

**Lint and auto-fix code:**
```
yarn lint:fix
```
npm package: @skroutz/unveil
Latest version: 1.4.0

#unveil.js
###A very lightweight plugin to lazy load images for jQuery or Zepto.js



Most of us are familiar with the [Lazy Load](http://www.appelsiini.net/projects/lazyload) plugin by [Mika Tuupola](http://www.appelsiini.net/).
This plugin is very useful and it boosts performance delaying loading of images in long web pages because images outside of viewport (visible part of web page) won't be loaded until the user scrolls to them.
Lazy Load has some cool options such as custom effects, container, events or data attribute. If you're not gonna use any of them you can reduce the file size by leaving just the essential code to show the images.
That's what I did and this is my lightweight version of Lazy Load with support for serving high-resolution images to devices with retina displays - less than 1k.

Visit unveil's [project page](http://luis-almeida.github.com/unveil/) to read the documentation and see the demo.


###Browser support
Compatible with All Browsers and IE7+.


###License
Unveil is licensed under the [MIT license](http://opensource.org/licenses/MIT).