open-index/open-npm huggingface dataset:
npm package: 2ico
Description: Generate ico from canvas
Author: YeonJuAn
Latest version: 1.1.2

# 2ico

Generate ICO from canvas. see [Demo]()

## Installation

```
npm install 2ico
```

## Usage

```js
import toICO from '2ico';

toICO(canvas, [16, 32, 48]); // data:image/x-icon;base64, ...
```

### Parameters

- **canvas** (`HTMLCanvasElement`): The canvas element.
- **sizes** (`number[]`): The sizes of images in ico. (default: [16, 32, 48])

### Returns

- Data URIs (`string`): the ico Data URIs.


```js
const elCanvas = document.getElementById('canvas-id');

const result = toICO(
  elCanvas,
  [16, 32, 48] 
);

console.log(result); // data:image/x-icon;base64, ...
```

## LICENSE

[MIT](./LICENSE)
npm package: 2ip
Description: This app will print your ip and more...
Author: kovirolik
Latest version: 1.0.0

# 2ip-cli
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
#Installation
```sh
npm i -g 2ip
```
# Usage
```sh
2ip
```