![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@morgul/macos-folder-icons
Advanced tools
A cli tool to create macOS style folders from SVG files.
Creates .png
and .icns
files from SVGs.
Tested with various icon types via svg-icon.
create-mac-folder
will attempt to make all SVGs compatible though there are limitations of what can be done.
Most SVGs will work just fine (See examples below).
npm install --global macos-folder-icons
Option | Alias | Type | Default | Description |
---|---|---|---|---|
<input> | n.a. | string | n.a. | Default command |
--out-dir | -o | string | ./macos-folder-icons | Defines the output directory |
--ignore | -i | string | undefined | Defines ignore patterns |
--port | -p | number | 1337 | Change the port if 1337 is taken |
--size | -s | number | 424 | Change the size of the icon viewBox |
Core options
Option | Description |
---|---|
--help | prints help |
--version | prints version |
create-mac-folder path/to/my.svg
create-mac-folder one.svg two.svg
create-mac-folder '{one,two,four}.svg'
create-mac-folder 'path/to/my/*.svg'
Input is required. It allows using multiple strings or glob patterns,
string
path/to/my.svg
-->./macos-folder-icons/my.svg
create-mac-folder path/to/my.svg
Glob patterns
Make sure to put your glob patterns in quotes
'**/glob/*/pattern'
.
create-mac-folder 'path/to/my/*.svg'
Defines the output directory relative to the current working directory (process.cwd()
).
string
path/to/my.svg
-->./out/my.svg
create-mac-folder path/to/my.svg -o out
Defines files to ignore. Allows glob patterns and multiple definitions
Make sure to put your glob patterns in quotes
'**/glob/*/pattern'
.
string
**/*.svg, !**/qux/*.svg, !foo/bar/baz.svg
-->./macos-folder-icons/*
create-mac-folder '**/*.svg' --ignore '**/qux/*.svg' --ignore 'foo/bar/baz.svg'
Change the port in case 1337
is already in use
number
create-mac-folder path/to/my.svg --port 3000
Define the size of the icon. The default is optimized to use circular icons from
svg-icon/simple
(e.g. )
number
create-mac-folder path/to/my.svg --size 300
Take a look at the Example files.
FAQs
custom folder icons for macOS
The npm package @morgul/macos-folder-icons receives a total of 2 weekly downloads. As such, @morgul/macos-folder-icons popularity was classified as not popular.
We found that @morgul/macos-folder-icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.