Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/data-uri/datauri

Generate Data-URI scheme via terminal or node.js
https://github.com/data-uri/datauri

base64 cli css data-uri inline metadata optimization

Last synced: about 2 months ago
JSON representation

Generate Data-URI scheme via terminal or node.js

Awesome Lists containing this project

README

        




datauri






[Module](http://npm.im/datauri) and [CLI](http://npm.im/datauri-cli) to generate [Data URI scheme](http://en.wikipedia.org/wiki/Data_URI_scheme).

[![Build Status](https://github.com/data-uri/datauri/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/data-uri/datauri/actions/workflows/main.yml?query=branch%3Amain) [![NPM version](http://img.shields.io/npm/dm/datauri.svg?style=flat)](https://www.npmjs.org/package/datauri)

## Module

`npm i datauri`

[API Docs](http://npm.im/datauri)

## CLI

`npm i -g datauri-cli`

or

`npx datauri-cli `

[CLI Docs](http://npm.im/datauri-cli)

## [ChangeLog](https://github.com/data-uri/datauri/releases)

## Tools using datauri

#### NPM SCRIPT

- [datauri-cli](https://npmjs.org/package/datauri-cli)

#### GULP

- [gulp-image-data-uri](https://github.com/adam-lynch/gulp-image-data-uri) - A [Gulp](http://github.com/gulpjs/gulp) plugin for converting images to inline data-URIs. Intended to be a simple single-purpose wrapper for [data-uri/datauri](https://github.com/data-uri/datauri).

#### GRUNT

There are a bunch of grunt plugins running on top of datauri module.

- [grunt-datauri](https://npmjs.org/package/grunt-datauri) - Create base64 encoded data-uris for css from images
- [grunt-imweb](https://npmjs.org/package/grunt-imweb) - IMWEB Tasks Collection For Daily Workflow.
- [grunt-static-inline](https://npmjs.org/package/grunt-static-inline) - A grunt plugin to replace url from static files such as img,js,css an put inline in a template.
- [grunt-data-uri](https://npmjs.org/package/grunt-data-uri) - Convert to data-uri from image path.
- [grunt-inline](https://npmjs.org/package/grunt-inline)

## License

MIT License
(c) [Data-URI.js](http://github.com/data-uri)