Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 7 days ago
JSON representation
Generate Data-URI scheme via terminal or node.js
- Host: GitHub
- URL: https://github.com/data-uri/datauri
- Owner: data-uri
- License: other
- Created: 2012-09-11T22:17:50.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T03:56:48.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T11:39:09.446Z (about 1 month ago)
- Topics: base64, cli, css, data-uri, inline, metadata, optimization
- Language: TypeScript
- Homepage: http://npmjs.com/datauri
- Size: 547 KB
- Stars: 228
- Watchers: 7
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
[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)