# base64-loader

> Base64 file loader for webpack

Latest version **1.0.0** (published 2015-09-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install base64-loader
pnpm add base64-loader
yarn add base64-loader
bun add base64-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-09-06 |
| First published | 2015-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Antelle |
| Maintainers | antelle |

## Links

- npm: https://www.npmjs.com/package/base64-loader
- Repository: https://github.com/antelle/base64-loader
- Homepage: https://github.com/antelle/base64-loader#readme
- Issues: https://github.com/antelle/base64-loader/issues
- npm.io page: https://npm.io/package/base64-loader

## Recent versions

- 1.0.0 (latest) — 2015-09-06

## README

# base64 file loader for webpack

## Installation

`npm install base64-loader`

## Usage

``` javascript
var fileContent = require("base64!./file.txt");
// => returns file.txt content as base64 string
```

[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)

## License

MIT (http://www.opensource.org/licenses/mit-license.php)

---
_Source: https://npm.io/package/base64-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
