open-index/open-npm huggingface dataset:
npm package: @irvadm/tiny
Description: Removes all spaces from a string
Latest version: 2.0.0

# @irvadm/tiny

[![npm (scoped)](https://img.shields.io/npm/v/@irvadm/tiny.svg)](https://www.npmjs.com/package/@irvadm/tiny)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@irvadm/tiny.svg)](https://www.npmjs.com/package/@irvadm/tiny)

Removes all spaces from a string.

## Install

```
$ npm install @irvadm/tiny
```

## Usage

```js
const tiny = require("@irvadm/tiny");

tiny("So much space!");
//=> "Somuchspace!"

tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
//    at tiny (<anonymous>:2:41)
//    at <anonymous>:1:1
```
npm package: @irvingjs/audio-player
Description: Persistent audio player and related components for Irving
Author: Alley
Latest version: 6.16.0

## Irving Audio Player
A persistent audio player is one of the most unique features that Irving offers. Since Irving functions as a single page application after being hydrated, we can easily offer an audio player that travels with the user and offers a seamless experience.

### Installation
1. `npm install @irvingjs/audio-player --save`
2. Add necessary components your project `componentMap.js`
3. Package includes a component called `<AudioElement>` to connect/interface with the HTML audio element. This component:
    * Should only have a single instance appear on the page. Because of this, we recommend you include it directly in your project's `<App>` component.
    * As described below, this package does not contain any user interface for controlling the `<AudioElement>` beyond a simple play/pause button. Volume, scrubbing, next/prev buttons, etc. are up to you—there are, however, redux actions provided for managing that functionality.

### Components
* `<AudioElement>` - HTML `<audio>` tag and relevant hooks for controlling it via redux state. Note that beyond the `<PlayPauseButton />` component (below) this package does not provide a UI for controlling audio.
* `<PlayPauseButton />` - Component for loading, playing, and pausing an audio file. The state of this button will be synced with the state of the `<AudioElement />` via redux.
npm package: @irvingjs/aws-lambda
Description: Run Irving on AWS Lambda
Author: Alley
Latest version: 6.16.0

## AWS Lambda Integration
This package can be used to facilitate the integration of Irving to [AWS Lambda](https://aws.amazon.com/lambda/).

The `@irvingjs/aws-lambda` package makes use of the [serverless-http](https://www.npmjs.com/package/serverless-http) package to better integrate to AWS Lambda. We also recommend using the `serverless` package to deploy to AWS. You can also integrate the deployment to AWS in your CI (process), if desired.

## Installation
1. `npm install -g serverless` and set it up to connect to AWS properly
2. You should have the `serverless` or `sls` commands available and properly authenticated locally.

## Project setup
1. `npm install @irvingjs/aws-lambda`
2. In the root of your Irving project, create an `index.js` (this file should have the same as the one in your `package.json` `main` key) file with the following content:
```javascript
// index.js

module.exports.irving = require('@irvingjs/core/server');
```
> The `irving` name exported will be the entry point for your AWS Lambda function to run your Irving site.
3. You also need to add the `aws-lambda` to the list of packages in `irving.config.server.js`. **There is no need to add it to the `irving.config.js`** since this is a server configuration:
```javascript
// irving.config.server.js

const lambdaConfig = require('@irvingjs/aws-lambda');

const config = {
  name: 'irving-dev-app',
  packages: [
    lambdaConfig,
  ],
};

module.exports = config;
```
4. In the root of Irving project, create a `serverless.yml` file with the following content (you can update as needed):
```yml
service: irving

provider:
  name: aws
  runtime: nodejs12.x
  region: sa-east-1
  memorySize: 512

functions:
  app:
    handler: index.irving # The same as your index.js exported key.
    events:
      - http:
          path: /
          method: GET
      - http:
          path: /{any+}
          method: GET
```
5. When you are ready to deploy your app, `npm install --production` to remove development dependencies (`serverless` does this for you but it is a good practice)
6. And run `npm run build` to build the app files
7. Finally, run `sls deploy` or `serverless deploy`

> Be aware of the [50MB limit for direct upload/deployment](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html) from AWS. 

## Checking AWS Lambda support locally

To test AWS Lambda support locally, we recommend installing the `serverless-offline` package.Here are the steps if you need to use this package:

1. [Set up your project](#Project-setup) for AWS Lambda integration.
2. `npm install serverless-offline`
3. Add the `serverless-offline` plugin to the list:
```yml
service: irving

plugins:
  - serverless-offline

...
```
4. Finally, run `serverless offline` or `sls offline`.

## About Large Apps/Sites (Bundle Size)

If you have a really large site/app, your bundle size will probably surpass the AWS Lambda upload limit of 50MB. We are testing with the `serverless-webpack` to find ways to optimize the bundle as much as possible for size.

More docs about it soon. :)
npm package: @irvingjs/babel-preset-irving
Description: Babel preset for working with irving
Author: Alley
Latest version: 6.16.0

## Irving Babel Preset
This package contains a preset for babel required for core irving and development/testing of irving packages/plugins.

### Usage
Include in the `presets` array of your babel config:

```javascript
{
    presets: [
        '@irvingjs/irving'
    ],
}
```
npm package: @irvingjs/integrations
Description: Third party integrations for Irving
Author: Alley
Latest version: 6.16.0

## Irving Integrations
A collection of Irving-friendly components for getting you started with common third-party integrations.

### Components
* `<DisqusEmbed />` - Embed an iframe for Disqus comments.
* `<GoogleAnalytics />` - Render the required JS snippet for your GA account.
* `<GoogleTagManager />` - Render the required JS snippet for your GTM account.
* `<Parsely />` - Render the required JS for sending data to Parse.ly
---
### `<IntegrationsManager />`
The integrations manager is a component that consumes a `irving/integrations` configuration retrieved from the REST API that dynamically configures, stores props for, and renders corresponding integrations based on the keys set in the configuration object.

### Configuration
Configuring the integrations manager is a simple process. First, add the `irving/integrations` component as a default in your `templates/defaults.json` file. Example:
```json
{
	"defaults": [
		{
			"name": "irving/integrations",
			"children": []
        },
	]
}
```
Second, add the integrations manager component to the irving componentMap. Example:
```js javascript
import { IntegrationsManager } from '@irvingjs/integrations';

export default {
    'irving/integrations': IntegrationsManager,
};
```
Second, import the irving config from the integrations package and add the imported config to the `packages` section of your project's `irving.config.js` file. Example:
```js javascript
import integrationsConfig from '@irvingjs/integrations';

export default {
    packages: [
        integrationsConfig,
    ],
};
```
Importing the configuration is required in order to connect the Integration Manager to the global Redux state tree and add the `integrations` branch to the store. The integrations currently available to manage through the integrations manager include:
* `<GoogleAnalytics />`
  * Key: `googleAnalytics`
  * Accepted Props: `trackingId`
* `<CoralEmbed />`
  * Key: `googleAnalytics`
  * Accepted Props: `rootURL`
* `<Pico />`
  * Key: `pico`
  * Accepted Props: `pageInfo`, `publisherId`
* `<JetpackSiteStats />`
  * Key: `siteStats`
  * Accepted Props: `data`

Configurations can also be managed manually through your irving configuration file. In order to do so, all you have to do is specify the integration's key and properties to be passed into its configuration. Example:
```js javascript
import integrationsConfig from '@irvingjs/integrations';

export default {
    packages: [
        integrationsConfig,
    ],
    integrations: {
        googleAnalytics: {
            trackingId: 'UA-000000-0',
        },
    },
};
```
_Any configurations that are set manually in `irving.config.js` will override those that are retrieved from the REST API._
npm package: @irvingjs/loadable
Description: Integration with React Loadable
Author: Alley
Latest version: 6.16.0

# Irving Loadable
This package adds functionality to Irving core for using the [`@loadable/component`](https://loadable-components.com/) package. More information about this package, including how to configure and use it, can be found in the [Irving documentation](http://storybook.irvingjs.com/?path=/docs/packages-loadable--page).
npm package: @irvingjs/loaodable
Description: Integration with React Loadable
Author: Alley
Latest version: 5.1.0-alpha.1

# Irving Loadable
This package adds functionality to Irving core for using the [`@loadable/component`](https://loadable-components.com/) package. More information about this package, including how to configure and use it, can be found in the [Irving documentation](http://storybook.irvingjs.com/?path=/docs/packages-loadable--page).
npm package: @irvingjs/styled
Description: Integration for React components with attached styles for Irving
Author: Alley
Latest version: 6.16.0

# Styled Components Integration
This package contains support for `styled`, `css` and associated functions. Currently this packages implements `styled-components`,
but the underlying logic maybe replaced by another library (like `emotion`) in the future.

## Installation
1. `npm install @irvingjs/styled`
2. Import and add the styled server configuration file to your project's `irving.config.server.js`:
```javascript
const styledComponentsConfig = require('@irvingjs/styled');

module.exports = {
    packages: [
        styledComponentsConfig,
    ],
    ...
};
```

2. Import and add the styled client configuration file to your project's `irving.config.js`:
```javascript
import styledComponentsConfig from '@irvingjs/styled-components';

const irvingConfig = {
    packages: [
        styledComponentsConfig,
    ],
    ...
};

export default irvingConfig;
```
npm package: @irvingjs/tracking
Description: Integration for React Tracking
Author: Alley
Latest version: 6.16.0

# Tracking
This package contains an implementation of React Tracking that replaces the default no-op service.

## Installation
1. `npm install @irvingjs/tracking`
2. Add the Tracking package configuration to your local project configuration files:
In your `irving.config.js` file:
```javascript
import trackingConfig from '@irvingjs/tracking';

const config = {
  packages: [
    trackingConfig,
  ],
};

export default config;
```
npm package: @irvingjs/vip-go
Description: Integration for WordPress VIP's Node server helpers
Author: Alley
Latest version: 6.16.0

# VIP Go node server setup
This package contains implementations of WordPress VIP's helpers for caching, logging, and monitoring with Newrelic.

## Installation
1. `npm install @irvingjs/vip-go`
2. Add the VIP Go package configuration to your local project configuration files:
In your `irving.config.js` file:
```javascript
import vipGoConfig from '@irvingjs/vip-go';

const config = {
  packages: [
    vipGoConfig,
  ],
};

export default config;
```

In your `irving.config.server.js` file:
```javascript
const vipGoConfig = require('@irvingjs/vip-go');

module.exports = {
  packages: [
    vipGoConfig,
  ],
};
```
3. Update your `package.json` to include the VIP Go preflight checks and the vip-go-friendly build script:
```json
{
    "scripts": {
        "preflight": "npx @automattic/vip-go-preflight-checks",
        "build": "if [ -z $VIP_GO_APP_ID ]; then npm run webpack; else exit 0; fi",
    }
}
```

### Environment
* `VIP_GO_APP_ID` - ID of your VIP Go app. This is not necessary (and should not be added to) your development environment.
* `REDIS_MASTER` - Host and port of redis instance (separated by `:`) (NOTE: Irving Core's `REDIS_URL` env var will not work for this package).
* `REDIS_PASSWORD` - Password necessary for interacting with Redis instance.
* `NEW_RELIC_APP_NAME` - The name of this application, for reporting to New Relic's servers. This value can be also be a comma-delimited list of names.
* `NEW_RELIC_LICENSE_KEY` - Your New Relic license key.
* `NEW_RELIC_NO_CONFIG_FILE` - Indicates all necessary information for configuring newrelic is available in environmental variables. Necessary for VIP Go's integration with newrelic to initialize properly.
npm package: @irvingjs/wordpress
Description: An example package for creating your own.
Author: Alley
Latest version: 6.16.0

# WordPress
This package contains a number of helpers for working with a WordPress backend:
* Integration for displaying the WP Admin Bar.
* Helpers for setting up Gutenberg block styles.
* Configuration for commonly-used passthrough proxies for a WordPress backend.

More information about this package can be found in the [Irving documentation](http://storybook.irvingjs.com/?path=/docs/packages-wordpress--page).
npm package: @irvingjs/wp-admin-bar
Description: Integration for WordPress admin bar
Author: Alley
Latest version: 4.2.0

# WordPress admin bar
This package contains a WordPress admin bar component.

## Installation
1. `npm install @irvingjs/wp-admin-bar`
2. The WP Irving plugin automatically adds the component to the components endpoint response for logged in users; however, you will see a "not configured" message until you add the component to your component map:
```javascript
// componentMap.js

// Import it from the package.
import AdminBar from '@irvingjs/wp-admin-bar';

// Ensure it's included in the export.
export default {
  'irving/admin-bar': AdminBar,
};
```
npm package: @iryn/data2html
Description: @iryn/data2html的浏览器渲染脚本， 可以 将@iryn/data2html库导出的json还原为html
Author: iryn
Latest version: 0.4.2

sketch 设计稿直接 转 html ，可以覆盖绝大多数情况，完美复原 sketch 稿

提供以下三种方法

- sketch2html：只能在 node 中使用
- sketch2data：只能在 node 中使用
- data2html：可以在浏览器中使用，将 sketch2data 的数据传入，返回 html 字符串和 css 字符串

### 代码示例

```
const { sketch2html, sketch2data, data2html } = require("@iryn/sketch2html");
sketch2data("./sketch/demo.sketch", "./output");
sketch2html("./sketch/demo.sketch", "./output");

```

### 命令行使用

```
# 生成 html：
sketch2html -i ../sketch/demo.sketch -o ../output

# 生成数据（按页面生成多个 json 文件）
  sketch2data -i ../sketch/demo.sketch -o ../output
```

### 兼容

sketch 版本：仅测试 72.1 版本

### 致谢

https://github.com/xinyu198736/sketch-to-html
npm package: @iryn/sketch2html
Description: 从 sketch 转换成 html,还原度95%以上
Author: iryn
Latest version: 0.1.5

sketch 设计稿直接 转 html ，可以覆盖绝大多数情况，完美复原 sketch 稿

提供以下三种方法

- sketch2html：只能在 node 中使用
- sketch2data：只能在 node 中使用
- data2html：可以在浏览器中使用，将 sketch2data 的数据传入，返回 html 字符串和 css 字符串

### 代码示例

```
const { sketch2html, sketch2data, data2html } = require("@iryn/sketch2html");
sketch2data("./sketch/demo.sketch", "./output");
sketch2html("./sketch/demo.sketch", "./output");

```

### 命令行使用

```
# 生成 html：
sketch2html -i ../sketch/demo.sketch -o ../output

# 生成数据（按页面生成多个 json 文件）
  sketch2data -i ../sketch/demo.sketch -o ../output
```

### 兼容

sketch 版本：仅测试 72.1 版本

### 致谢

https://github.com/xinyu198736/sketch-to-html
npm package: @iryna-markovich/mazz
Description: Design system
Latest version: 1.0.1

# @iryna-markovich/mazz

[![npm (scoped)](https://img.shields.io/npm/v/@iryna-markovich/mazz.svg)](https://github.com/iryna-markovich/mazz)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@iryna-markovich/mazz.svg)](https://github.com/iryna-markovich/mazz)

Howdy!
npm package: @irys-network/core-bundler-client
Description: Core multiplatform Irys network bundler client library
Author: Irys maintainers
Latest version: 0.0.2

# client-core

Core multiplatform Irys network bundler client library

## Installation
You shouldn't need to install this package directly, but if you must:

```sh
npm install @irys-network/core-bundler-client
```
npm package: @irys-network/web-bundler-ethereum-ethers-v5
Description: Provider adapter library for adapting ethersv5 providers for use with the web Ethereum Irys bundler token client
Author: Irys maintainers
Latest version: 0.0.2

# ethereum-ethers-v5

Provider adapter library for adapting ethersv5 providers for use with the web Ethereum Irys bundler token client

## Installation

```sh
npm install @irys-network/web-bundler-ethereum-ethers-v5
```
npm package: @irys-network/web-bundler-ethereum-ethers-v6
Description: Provider adapter library for adapting ethersv6 providers for use with the web Ethereum Irys bundler token client
Author: Irys maintainers
Latest version: 0.0.2

# ethereum-ethers-v6

Provider adapter library for adapting ethersv5 providers for use with the web Ethereum Irys bundler token client

## Installation

```sh
npm install @irys-network/web-bundler-ethereum-ethers-v6
```
npm package: @irys-network/web-bundler-ethereum-viem-v2
Description: Provider adapter library for adapting Viem v2 providers for use with the web Ethereum Irys bundler token client
Author: Irys maintainers
Latest version: 0.0.2

# ethereum-viem-v2

Provider adapter library for adapting Viem v2 providers for use with the web Ethereum Irys bundler token client

## Installation

```sh
npm install @irys-network/web-bundler-ethereum-viem-v2
```