KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
acrool-icon-symbols
★ 11
Open GitHub ↗
icon svg symbol
Download README (.md)
Explore Similar Repositories
hillside_hermitage_archive
:
No description available.
json-type-generator
:
A VSCode extension that generates Typescript types for any REST API endpoint or any URL that returns a JSON
smart_cell_command
:
A smart cell implementation for Livebook to execute shell commands
TrashBox-testandvalid
:
Dataset of trash objects for waste classification and detection
auWin
:
auWin is a program with which you can easily edit window attributes and interact with windows.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
acrool-icon-symbols
?
Download (.md)
# Acrool Icon Symbols <a href="https://github.com/acrool/acrool-icon-symbols" title="Acrool Icon Symbols - Merge svg into svg symbols, and unpack svg symbols into individual svg"> <img src="https://raw.githubusercontent.com/acrool/acrool-icon-symbols/refs/heads/main/public/og.png" alt="Acrool Icon Symbols Logo"/> </a> <p align="center"> Merge svg into svg symbols, and unpack svg symbols into individual svg </p> <div align="center"> [](https://www.npmjs.com/package/@acrool/icon-symbols) [](https://github.com/acrool/@acrool/icon-symbols/blob/main/LICENSE) [](https://github.com/acrool/icon-symbols/blob/main/LICENSE) [](https://www.npmjs.com/package/@acrool/icon-symbols) [](https://www.npmjs.com/package/@acrool/icon-symbols) </div> ## Features - Merge svg into svg symbols - unpack svg symbols into individual svg - Parse SVG content ## Install ```bash yarn add @acrool/icon-symbols ``` ## Use ```ts import {decodeSvgPaths, decodeSymbols} from '@acrool/icon-symbols'; const fileContent = await fs.readFileSync(filePath); const svg = decodeSvgPaths(fileContent.toString()); const symbols = decodeSymbols(fileContent.toString()); const newId = await this.iconSymbolService.create({ code: file.filename.replace(/[ -]/g,'_').replace(/.svg$/,''), viewBox: svg.viewBox, content: svg.paths.join(''), iconDepotId, creatorId: currentMember.id, }); ``` ## CLI Tools - [acrool-icon-symbols-cli](https://github.com/acrool/acrool-icon-symbols-cli) ## License MIT © [Acrool](https://github.com/acrool) & [Imagine](https://github.com/imagine10255)