open-index/open-npm huggingface dataset:
npm package: @jkroepke/featurebook-pdf
Description: FeatureBook's PDF converter
Author: Jan-Otto Kröpke
Latest version: 2.0.1

[![Build Status](https://github.com/jkroepke/featurebook-js/workflows/CI/badge.svg)](https://github.com/jkroepke/featurebook-js)
[![npm](https://img.shields.io/npm/dw/@jkroepke/featurebook-pdf)](https://www.npmjs.com/package/@jkroepke/featurebook-pdf)
[![npm version](https://img.shields.io/npm/v/@jkroepke/featurebook-pdf)](https://www.npmjs.com/package/@jkroepke/featurebook-pdf)
[![dependencies Status](https://david-dm.org/jkroepke/featurebook-js/status.svg?path=packages/featurebook-pdf)](https://david-dm.org/jkroepke/featurebook-js?path=packages/featurebook-pdf)
[![Code Climate](https://codeclimate.com/github/jkroepke/featurebook-js/badges/gpa.svg)](https://codeclimate.com/github/jkroepke/featurebook-js-pdf)
[![Test Coverage](https://codeclimate.com/github/jkroepke/featurebook-js/badges/coverage.svg)](https://codeclimate.com/github/jkroepke/featurebook-js/coverage)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

# featurebook-pdf

> FeatureBook's PDF converter

Fork of https://github.com/SOFTWARE-CLINIC/featurebook-pdf
npm package: @jkroepke/featurebook-serve
Description: FeatureBook's HTTP server
Author: Jan-Otto Kröpke
Latest version: 2.0.1

[![Build Status](https://github.com/jkroepke/featurebook-js/workflows/CI/badge.svg)](https://github.com/jkroepke/featurebook-js)
[![npm](https://img.shields.io/npm/dw/@jkroepke/featurebook-serve)](https://www.npmjs.com/package/@jkroepke/featurebook-serve)
[![npm version](https://img.shields.io/npm/v/@jkroepke/featurebook-serve)](https://www.npmjs.com/package/@jkroepke/featurebook-serve)
[![dependencies Status](https://david-dm.org/jkroepke/featurebook-js/status.svg?path=packages/featurebook-serve)](https://david-dm.org/jkroepke/featurebook-js?path=packages/featurebook-serve)
[![Code Climate](https://codeclimate.com/github/jkroepke/featurebook-js/badges/gpa.svg)](https://codeclimate.com/github/jkroepke/featurebook-js-serve)
[![Test Coverage](https://codeclimate.com/github/jkroepke/featurebook-js/badges/coverage.svg)](https://codeclimate.com/github/jkroepke/featurebook-js/coverage)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

# featurebook-serve

> FeatureBook's HTTP server

Fork of https://github.com/SOFTWARE-CLINIC/featurebook-serve
npm package: @jkroepke/webpack-file-preprocessor-plugin
Description: An updated version of a lightweight yet generic webpack plugin for pre-processing assets before emitting.
Author: Jan-Otto Kröpke
Latest version: 2.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Webpack File Preprocessor Plugin
[![NPM Version](https://img.shields.io/npm/v/@jkroepke/webpack-file-preprocessor-plugin.svg?style=flat-square)](https://www.npmjs.com/package/@jkroepke/webpack-file-preprocessor-plugin)
[![NPM Downloads](https://img.shields.io/npm/dt/@jkroepke/webpack-file-preprocessor-plugin.svg?style=flat-square)](https://www.npmjs.com/package/@jkroepke/webpack-file-preprocessor-plugin)
[![Actions Status](https://github.com/jkroepke/webpack-file-preprocessor-plugin/workflows/CI/badge.svg)](https://github.com/jkroepke/webpack-file-preprocessor-plugin/actions)
[![Maintainability](https://api.codeclimate.com/v1/badges/88c15c54ca6e8dc9ccdc/maintainability)](https://codeclimate.com/github/jkroepke/webpack-file-preprocessor-plugin/maintainability)

A lightweight yet generic webpack plugin for pre-processing assets before emitting.

## Installation

```bash
# Using npm
$ npm install webpack-file-preprocessor-plugin --save-dev

# Using Yarn
$ yarn add webpack-file-preprocessor-plugin --dev
```

## Usage

This example demonstrates how to use this plugin to minify the html assets loaded using `file-loader`.

```javascript
const webpack = require('webpack');
const WebpackFilePreprocessorPlugin = require('webpack-file-preprocessor-plugin');
const minifyHtml = require('html-minifier').minify;

module.exports = {
    entry: {
        app: './index.js'
    },
    output: {
        path: './public/dist',
        publicPath: '/dist/',
        filename: '[name].bundle.js'
    },
    module: {
        rules: [
            {
                test: /\.html$/,
                use: {
                    loader: 'file-loader', 
                    options: {
                    name: 'tmpl/[hash].html'
                    }
                }
            }
        ]
    },
    plugins: [
        new WebpackFilePreprocessorPlugin({
            // Prints processed assets if set to true (default: false)
            debug: true,
            // RegExp pattern to filter assets for pre-processing.
            pattern: /\.html$/,
            // Do your processing in this process function.
            process: (source) => minifyHtml(source.toString())
        })
    ]
};
```
npm package: @jkroso/animation
Description: base class for animations
Author: Jake Rosoman
Latest version: 1.0.5

# animation

  A base class for animations. Used by [move](//github.com/jkroso/move) and [timeline](//github.com/jkroso/timeline)

## Installation

`npm install @jkroso/animation`

then in your app:

<!--js window = global -->

```js
import Animation from 'animation'
```

## API

### Animation#duration(n:Number|String)

  set duration to `n` milliseconds. You can also
  pass a natural language string

```js
animation.duration('1.2s')
```

### Animation#ease(fn:String|Function)

  Set easing function to `fn`.

```js
animation.ease('in-out-sine')
```

### Animation#run([n]:Number|String)

  run the animation with an optional duration

```js
animation.run()
```

## Expected extensions

### Animation#render(n:Number)

  render the animation at point `n` between its endpoints where `n` is a number from `0` to `1`. Subclasses may also choose to apply the `._ease()` function to `n` within render.

```js
Mover.prototype.render = function(n){
  // apply changes here
}
```
npm package: @jkroso/babel-plugin-runtime
Description: Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Latest version: 1.0.9

# babel-plugin-runtime

The difference between this and the plugin its based of is that this one explcitly depends on `babel-runtime` rather than expecting you to install it yourself.

Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals

## Installation

```sh
$ npm install @jkroso/babel-plugin-runtime
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["runtime"]
}
```

### Via CLI

```sh
$ babel --plugins runtime script.js
```

### Via Node API

```javascript
require("babel-core").transform("code", {
  plugins: ["runtime"]
});
```