Package Exports
- git-imager
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (git-imager) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
git-imager
- detect image tags in HTML with base64-data
- then upload all that images to github repository, and replace image src with generated github-url
- finally you can get HTML that contains img tags with github-url.
example
- source HTML
<p>
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2..........something long base64 data"
data-filename="testfornodejs.jpg" style="width: 100px;">
<br>
</p>
- converted HTML
<p>
<img src="https://raw.githubusercontent.com/MinSikMoon/database_test/master/15346903140862939134887091734.jpg"
data-filename="testfornodejs.jpg" style="width: 100px;">
<br>
</p>