open-index/open-npm huggingface dataset:
npm package: 2webp
Description: A simple image converter for web developers.
Author: coreydemarse
Latest version: 0.1.6

# 2webp

A simple image converter for web developers.

Convert images asyncronously in bulk using Bun/Sharp.


## Install (global)

Install 2webp globally using NPM
```bash
bun add -g 2webp
```

On Linux - make sure you have libvips
```bash
sudo apt-get install libvips-dev
```

## How to Use

When converting images 2webp will automatically batch and convert images asyncrounously.
You can convert large folders of images safely with 2webp.

### Syntax

```bash
2webp {dir/file} {--output=/example} {--format=png/jpeg/gif/tiff/webp}
```

### Examples

To convert all the images in the current directory to webp

The output is in current directory

```bash
2webp .
```

Specify output directory, convert all images in current dir
```bash
2webp . --output=./output
```

Convert all images in current dir to png
```bash
2webp . --format=png
```

## Development

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

#

This project was created using Bun.

[Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
npm package: 2webpack2
Description: Turn configuration of webpack 1 to 2
Author: qingwei-li
Latest version: 1.2.1

# 2webpack2
[![Build Status](https://travis-ci.org/QingWei-Li/2webpack2.svg?branch=master)](https://travis-ci.org/QingWei-Li/2webpack2)
[![Coverage Status](https://coveralls.io/repos/github/QingWei-Li/2webpack2/badge.svg?branch=master)](https://coveralls.io/github/QingWei-Li/2webpack2?branch=master)
[![npm](https://img.shields.io/npm/v/2webpack2.svg)](https://www.npmjs.com/package/2webpack2)

https://webpack.js.org/how-to/upgrade-from-webpack-1

> 🕳️ Turn configuration of webpack 1 to 2

## Installation
```shell
npm i 2webpack2 webpack@beta -D
```

## Usage
```javascript
var to2 = require('2webpack2')

module.exports = to2({
  debug: true,
  module: {
    preLoaders: [
      { test: /\.js$/, loader: 'eslint' }
    ],
    loaders: [
      { test: /\.vue$/, loader: 'vue' },
      { test: /\.css$/, loader: 'style!css?modules' }
    ]
  },
  vue: {
    postcss: [
      require('autoprefixer')
    ]
  }
})
```

To

```javascript
{
  module: {
    rules: [
      { test: /\.js$/, loader: 'eslint-loader', enforce: 'pre' },
      { test: /\.vue$/, loader: 'vue-loader' },
      { test: /\.css$/, loader: 'style-loader!css-loader?modules' }
    ]
  },
  plugins: [
    new webpack.LoaderOptionsPlugin({
      options: {
        debug: true,
        vue: {
          postcss: [
            require('autoprefixer')
          ]
        }
      }
    })
  ]
}
```

## Options
- quiet
- context


## License
MIT
npm package: 2wire
Description: Easy access to I2C devices
Latest version: 1.0.1

# 2wire

Easy access to I2C devices.

It was designed for the Raspberry Pi (on top of the `i2c_dev` kernel module), but may work on different boards, too.

TypeScript definitions are included.

## Example

Write register 0x58 of device addressed by 0x20 to value 42.
```javascript
const TwiDevice = require('2wire').TwiDevice;

const wire = new TwiDevice('/dev/i2c-1', 0x20);
wire.writeByte(0x58, 42);
```