open-index/open-npm huggingface dataset:
npm package: @spring-keyframes/driver
Description: Use javascript to generate css keyframe animations based on spring physics
Author: hemlok
Latest version: 0.0.52

<img src="https://user-images.githubusercontent.com/9043345/41439555-26f827f0-7023-11e8-91e0-6396c9e3cd25.gif" alt="alt text" width="100%">

#### Generate css keyframes in css-in-js based on a spring algorithm, with emotion: https://github.com/emotion-js/emotion.

Spring transform properties: `transformX`, `transformY`, `scale3d`, as `x`, `y`, and `scale`, as well as `opacity`.

- The default export is wrapped in emotion's `keyframes`, however you can also export `{ spring }` which returns an array you can join and use with other css-in-js solutions. (I think...)

Note: for scale, be sure to use a higher precision, like 4.

### Example

This example is done for a react app, but can easily work without react with `emotion`

```
import spring from 'spring-keyframes'
import styled from 'react-emotion'

const options = {
  stiffness: 80,
  damping: 50,
  precision: 4,
  unit: 'px',
}

const Component = styled.div`
  animation: ${spring({
    from: {
      opacity: 0,
      x: 0,
      scale: 0
    },
    to: {
      opacity: 1,
      x: 100,
      scale: 1
    }
  }, options)} 300ms;
  animation-fill-mode: both;
`
```
npm package: @spring-mobility/client-utils
Description: This package hosts shared code between clients that use React.
Latest version: 1.0.37

# Client Utils

This package hosts shared code between clients that use React.

## Why is this separate from `@spring-mobility/types`?

`react` is required as a `peerDependency` of the package. That means any time this package is imported, `react` must be `dependency`.

We can't combine this package with `@spring-mobility/types` because we don't want to install `react` on code that is running in a Node environment.

## Why is `@spring-mobility/types` a peer dependency?

This package uses `SpringClient` which is defined in `@spring-mobility/types`. `SpringClient` should be a singleton on the client that is configured via `SpringClient.configureClient`.

- [ ] Could we move `SpringClient` -> `client-utils`? -- Ah no, because other Node clients use `SpringClient`, e.g. `vatican`...

## TODOs

- [ ] Rename this package from `client-utils` to `react-utils`
npm package: @spring-mobility/types
Description: TypeScript definitions for Spring Mobility projects.
Latest version: 0.1.228

# Spring Types

TypeScript definitions for Spring Mobility projects.

## Development

To test updates to `spring-mobility-types` without publishing to npm, we can symlink the module to the global directory on our location machine.

```bash
# In this directory
yarn link


# In the directory that depends on spring-mobility-types
yarn link spring-mobility-types

# You can now see that the spring-mobility-types/ folder in node_modules is a symlink to the global node_modules.
ls -al node_modules/spring-mobility-types
```

Doc: https://yarnpkg.com/lang/en/docs/cli/link/
npm package: @spring-raining/vs-theme-eal-float-system
Description: description
Author: spring-raining
Latest version: 1.0.0

# Vivliostyle Theme EAL Float System

[![npm: version](https://flat.badgen.net/npm/v/@spring-raining/vs-theme-eal-float-system)](https://npmjs.com/package/@spring-raining/vs-theme-eal-float-system)
[![npm: total downloads](https://flat.badgen.net/npm/dt/@spring-raining/vs-theme-eal-float-system)](https://npmjs.com/package/@spring-raining/vs-theme-eal-float-system)
![npm: license](https://flat.badgen.net/npm/license/@spring-raining/vs-theme-eal-float-system)
npm package: @spring-raining/vs-theme-eal-magazine
Description: description
Author: spring-raining
Latest version: 1.0.0

# EAL Magazine Theme for Vivliostyle

[![npm: version](https://flat.badgen.net/npm/v/@spring-raining/vs-theme-eal-magazine)](https://npmjs.com/package/@spring-raining/vs-theme-eal-magazine)
[![npm: total downloads](https://flat.badgen.net/npm/dt/@spring-raining/vs-theme-eal-magazine)](https://npmjs.com/package/@spring-raining/vs-theme-eal-magazine)
![npm: license](https://flat.badgen.net/npm/license/@spring-raining/vs-theme-eal-magazine)
npm package: @spring-raining/vs-theme-grid-system
Description: description
Author: spring-raining
Latest version: 1.0.0

# Vivliostyle Theme Grid System

[![npm: version](https://flat.badgen.net/npm/v/@spring-raining/vs-theme-grid-system)](https://npmjs.com/package/@spring-raining/vs-theme-grid-system)
[![npm: total downloads](https://flat.badgen.net/npm/dt/@spring-raining/vs-theme-grid-system)](https://npmjs.com/package/@spring-raining/vs-theme-grid-system)
![npm: license](https://flat.badgen.net/npm/license/@spring-raining/vs-theme-grid-system)
npm package: @spring-raining/vs-theme-photo-book
Description: description
Author: spring-raining
Latest version: 1.0.0

# Vivliostyle Theme Grid System

[![npm: version](https://flat.badgen.net/npm/v/@spring-raining/vs-theme-grid-system)](https://npmjs.com/package/@spring-raining/vs-theme-grid-system)
[![npm: total downloads](https://flat.badgen.net/npm/dt/@spring-raining/vs-theme-grid-system)](https://npmjs.com/package/@spring-raining/vs-theme-grid-system)
![npm: license](https://flat.badgen.net/npm/license/@spring-raining/vs-theme-grid-system)
npm package: @spring4js/container-node
Description: ```typescript @Service() export default class ActionService {
Latest version: 1.0.3

# 使用方法
## 服务注册
```typescript
@Service()
export default class ActionService {
    
}
```
## 服务引用
- @Resource引用
```typescript
@Service()
export default class ActionService {
    @Resource() private profileService: ProfileService
}
```
- 通过container获取
```typescript
const profileService = await container.getServiceInstance<ProfileService>(ProfileService);
```
## Controller

## 项目中添加依赖
- reflect-metadata
- lodash
- tslib

## ts配置

```json
{
  "compilerOptions": {
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true
  }
}
```

## 使用方式、
## 初始化 reflect-metadata
需要在代码入口处 import 'reflect-metadata'
## 初始化容器
```typescript
const container = new Container();
const dirList = [
    path.resolve(__dirname, 'controller'),
    path.resolve(__dirname, 'service'),
    path.resolve(__dirname, 'access'),
];
for (const dir of dirList) {
    const jsFileList: string[] = await glob(['**/*.js'], {
        cwd: dir,
    });
    for (const jsFile of jsFileList) {
        const obj: any = require(path.join(dir, jsFile));
        // @ts-ignore
        if (!isObject(obj) || !isObject(obj.default)) {
            continue;
        }
        // @ts-ignore
        const clazz = <IServiceClazz>obj.default;
        clazz.jsFile = jsFile;
        container.registerServiceClazz(clazz);
    }
}
```
## 初始化Controller
```typescript
let router = new Router()
const container = getContainer()
let routerList = container.getRouterInfo()
for (let routerInfo of routerList) {
    let {httpMethod, requestPath, serviceName, functionName} = routerInfo
    logger.info(`注册路由 ${httpMethod} ${requestPath}`)
    let instance = await container.getServiceInstance(serviceName)
    // @ts-ignore
    router[httpMethod](requestPath, async (ctx: Context) => {
        try {
            // @ts-ignore
            const ret: any = await instance[functionName](ctx)
            if (ret != undefined) {
                ctx.body = {
                    code: 0,
                    data: ret,
                }
            }
        } catch (err: any) {
            if (err) {
                logger.error(err)
                const {
                    code = err.code || 500,
                    msg = err.message || err.msg || err.error || JSON.stringify(err),
                    data,
                } = err
                ctx.body = {
                    code,
                    msg,
                    data,
                }
            }
        }
    })
}
```
npm package: @springbuck/flesh
Description: Concept UI for Springbuck Apps.
Author: Isaiah Iroko
Latest version: 0.0.1

# Flesh

## Table of Content

* Introduction
* Installation
* Usage
* Licence

## Introduction

A UI concept for springbuck apps. consisting of styles, markups and behaviour.

## Installation

1. NPM
```
npm instal @springbuck/flesh --save

"dependencies": {
    ...
    "@springbuck/flesh": "~0.0.0",
    ...
}

```

2. Composer
```
$ composer require springbuck/flesh

"require": {
    ...
    "springbuck/flesh": "~0.0.0",
     ..
}

```
3. Manual
    - Download zip at https://github...
    - Extract
    - In
```
    <link></link>
    <script></script>
```

## Prerequisites

- This works on Windows, macOS and Linux.
- Node Package Manager and Gulp are required. Make sure you can run `gulp -v` and `npm -v`.
- You can get Node at [nodejs.org](https://nodejs.org), then install gulp using `npm install gulp-cli -g`

## Getting started

2. Clone this repo
3. Run `npm install`
4. Run `gulp watch`
4. Look at `index.html` (ideally with a [local development webserver](https://askubuntu.com/questions/377389/how-to-easily-start-a-webserver-in-any-folder))
5. Add any Bootstrap Sass variables into `scss/_custom-variables.scss`
6. Add any custom styles into `scss/_custom-styles.scss`. You can use Bootstrap's mixins here.
7. Repeat steps 4 to 6 until you like what you see :-)

## Thanks to:

**Alexander Rechsteiner**

- <https://hackerthemes.com>
- <https://twitter.com/arechsteiner>
- <https://github.com/arechsteiner>
- <https://hackerthemes.com/kit>

## Documentation
Visit [FLESH DOCS](src/docs) or http://

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-analytics
Description: Web app analyitcs front-end to https://github.com/isaiahiroko/laravel-analytics
Author: isaiahiroko@gmail.com
Latest version: 0.0.2

# NG Analytics

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, analytics data for web apps.

## Installation

```
$ npm install springbuck/ng-analytics

"dependencies": {
    ...
    "springbuck/ng-analytics": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGANALYTICS_CONFIG } from "@springbuck/ng-analytics";
import { MY_NGANALYTICS_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGANALYTICS_CONFIG, useValue: MY_NGANALYTICS_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-bot
Description: bot front-end to https://github.com/isaiahiroko/laravel-bot
Author: isaiahiroko@gmail.com
Latest version: 0.0.2

# NG Bot

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, bot data for web apps.

## Installation

```
$ npm install springbuck/ng-bot

"dependencies": {
    ...
    "springbuck/ng-bot": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGBOT_CONFIG } from "@springbuck/ng-bot";
import { MY_NGBOT_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGBOT_CONFIG, useValue: MY_NGBOT_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-coinhive
Description: Coinhive front-end to https://github.com/isaiahiroko/laravel-coinhive
Author: isaiahiroko@gmail.com
Latest version: 0.0.2

# NG Coinhive

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, coinhive data for web apps.

## Installation

```
$ npm install springbuck/ng-coinhive

"dependencies": {
    ...
    "springbuck/ng-coinhive": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGCOINHIVE_CONFIG } from "@springbuck/ng-coinhive";
import { MY_NGCOINHIVE_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGCOINHIVE_CONFIG, useValue: MY_NGCOINHIVE_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-corporate
Description: Corporate front-end to https://github.com/isaiahiroko/laravel-corporate
Author: isaiahiroko@gmail.com
Latest version: 0.0.2

# NG Corporate

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, corporate data for web apps.

## Installation

```
$ npm install springbuck/ng-corporate

"dependencies": {
    ...
    "springbuck/ng-corporate": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGCORPORATE_CONFIG } from "@springbuck/ng-corporate";
import { MY_NGCORPORATE_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGCORPORATE_CONFIG, useValue: MY_NGCORPORATE_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-directory
Description: Directory front-end to https://github.com/isaiahiroko/laravel-directory
Author: isaiahiroko@gmail.com
Latest version: 0.0.2

# NG Directory

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, directory data for web apps.

## Installation

```
$ npm install springbuck/ng-directory

"dependencies": {
    ...
    "springbuck/ng-directory": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGDIRECTORY_CONFIG } from "@springbuck/ng-directory";
import { MY_NGDIRECTORY_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGDIRECTORY_CONFIG, useValue: MY_NGDIRECTORY_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-docs
Description: Docs front-end to https://github.com/isaiahiroko/laravel-docs
Author: isaiahiroko@gmail.com
Latest version: 0.0.2

# NG Docs

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, docs data for web apps.

## Installation

```
$ npm install springbuck/ng-docs

"dependencies": {
    ...
    "springbuck/ng-docs": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGDOCS_CONFIG } from "@springbuck/ng-docs";
import { MY_NGDOCS_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGDOCS_CONFIG, useValue: MY_NGDOCS_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-foundation
Description: A base for Angular web apps.
Author: Isaiah Iroko
Latest version: 0.0.3

# NG Foundation

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, foundation data for web apps.

## Installation

```
$ npm install springbuck/ng-foundation

"dependencies": {
    ...
    "springbuck/ng-foundation": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGFOUNDATION_CONFIG } from "@springbuck/ng-foundation";
import { MY_NGFOUNDATION_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGFOUNDATION_CONFIG, useValue: MY_NGFOUNDATION_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-imager
Description: RESTful images front-end to https://github.com/isaiahiroko/laravel-imager
Author: isaiahiroko@gmail.com
Latest version: 0.0.2

# NG Imager

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, imager data for web apps.

## Installation

```
$ npm install springbuck/ng-imager

"dependencies": {
    ...
    "springbuck/ng-imager": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGIMAGER_CONFIG } from "@springbuck/ng-imager";
import { MY_NGIMAGER_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGIMAGER_CONFIG, useValue: MY_NGIMAGER_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-reed
Description: Blog front-end to https://github.com/isaiahiroko/laravel-reed
Author: isaiahiroko@gmail.com
Latest version: 0.0.2

# NG Reed

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, reed data for web apps.

## Installation

```
$ npm install springbuck/ng-reed

"dependencies": {
    ...
    "springbuck/ng-reed": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGREED_CONFIG } from "@springbuck/ng-reed";
import { MY_NGREED_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGREED_CONFIG, useValue: MY_NGREED_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).
npm package: @springbuck/ng-webgets
Description: Sets of reuseable and scalable Angular components.
Author: Isaiah Iroko
Latest version: 0.0.3

# NG Webgets

## Table of Content

* Introduction
* Installation
* Configuration
* Usage
* Licence

## Introduction

Provide user interaction, webgets data for web apps.

## Installation

```
$ npm install springbuck/ng-webgets

"dependencies": {
    ...
    "springbuck/ng-webgets": "~0.0.0",
    ...
}
```

# Configurations

```
// src/app/app.module.ts

import { NGFOUNDATION_CONFIG } from "@springbuck/ng-foundation";
import { MY_NGFOUNDATION_CONFIG_VALUE } from "...";

providers: [
    ...
    { provide: NGFOUNDATION_CONFIG, useValue: MY_NGFOUNDATION_CONFIG_VALUE }
    ...
]
```

## Usage

```
```

## Licence
Released under the MIT License, [LICENSE](LICENSE).