1.0.10 • Published 7 years ago

image-xterm-loader v1.0.10

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

image-xterm-loader

Load images with Webpack as XTerm 256-color compatible strings.

npm.io

Install

npm install image-webpack-loader --save-dev

Usage

Documentation using loaders.

In your webpack.config.js, add the image-xterm-loader:

loaders: [
    {
        test: /\.(jpe?g|png|gif)$/i,
        loaders: ['image-xterm-loader?cols=80'],
    }
]

Options

cols

Type: integer Default: 80

Using this, will scale the image to the number of columns wanted.

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago