Comments (4)
I’ll see what I can do this weekend. Off the top of my head, the output file should probably have .uri
by default, as that maps to text/uri-list
in most extension-interpreting libraries.
from mini-svg-data-uri.
Implemented by #19
from mini-svg-data-uri.
from mini-svg-data-uri.
I haven't made a node cli tool before but I do know that's where the actual command is defined along with which script it should run. Then it might just be handling the arguments & writing to a file.
I'm pretty swamped at the moment but maybe if I can find some time in the next couple weeks I'll give it a shot if it has yet to be done. I'd love to make an alias that runs svgo and then this in one go.
from mini-svg-data-uri.
Related Issues (14)
- Could we get an online version hosted on GitHub pages? HOT 6
- Incorrect function name referenced in example? HOT 3
- Why single quotes? HOT 3
- Example code not working HOT 2
- Should this work in a cursor as well? HOT 3
- Works in link only after pressing Enter HOT 4
- Broken image example HOT 1
- Going the other direction HOT 2
- CLI usage example in README.md incorrect (typo?) HOT 2
- Compact version HOT 2
- Shorter color names don't check the entire hexcode HOT 11
- Feature request: files -> SASS variables HOT 1
- Not compatible in srcset attribute HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mini-svg-data-uri.