
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
create-chakra-icons
Advanced tools
<label style="font-weight:bold;font-size:200%">Transform SVG to React Chakra UI ✨ </label> <label style="font-weight:bold;font-size:small;font-style:italic">from SVG file to CODE</label> <img src="ht
Transform SVG to React Chakra UI ✨
from SVG file to CODE
<SVG/>
to Chakra-UI Icon
Component or Functional createIcon(...)
.
directories
or files
as input value for option -i
or --input
.<Icon />
.create-chakra-icons [FLAGS] [OPTIONS] [INPUT]
-h, --help Prints help information
-V, --version Prints version information
-i, --input <PATH> This option for read the input from PATH of FILE or DIRECTORIES.
[e.g.: -i some/path , -i file.svg]
-o, --output <PATH> Writes the output. [default: stdout]
-n, --name <STRING> Sets value for `displayName` properties
(*ONLY for pipelines command). [default: Unamed] [e.g. -n "MyIcon"]
-C, --case <snake|camel|constant|pascal>
Sets for case [snake|camel|constant|pascal] in export named declaration
output. [default: pascal]
-S, --suffix <STRING> Sets for suffix in export named declaration.
-P, --prefix <STRING> Sets for prefix in export named declaration.
[e.g.: -S "Icon"]
--ts, --typescript Sets output as TypeScript code.
-T, --type <TYPE> TYPE:
(F|f). Sets output code with function \`createIcon({...})\`.
(C|c). Sets output code with Component Icon \`(props) => <Icon> {...} </Icon>\`.
[e.g.: -T C]
[INPUT] This option for read the input from PATH of FILE or DIRECTORIES.
[e.g.: create-chakra-icons ./MyICON.svg ~/assets]
echo "
<svg viewBox=\"0 0 200 200\">
<path
fill=\"#666\"
d=\"M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0\"
/>
</svg>
" | create-chakra-icons -n "KodingNinjaIcon"
import { createIcon } from "@chakra-ui/react";
export const KodingNinjaIcon = createIcon({
displayName: "KodingNinjaIcon",
viewBox: "0 0 200 200",
d: "M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0",
});
per-file
create-chakra-icons -o Icons.js ./Facebook.svg ./Apple.svg ./Amazon.svg ./Netflix.svg ./Google.svg
directories
create-chakra-icons -o Icons.js ./social-icons
directories and per-file
at the same timecreate-chakra-icons -o Icons.js ./MyCompany.svg ./social-icons
Icons.js
(argument -o
or --output
).<Icon />
component See.Feel free for making an issue, pull request, or give any feedback. 🙌
comments
in lib/*.js
.yarn docs
in the root repository.yarn docs
will modify README.md
and see the changes.FAQs
<label style="font-weight:bold;font-size:200%">Transform SVG to React Chakra UI ✨ </label> <label style="font-weight:bold;font-size:small;font-style:italic">from SVG file to CODE</label> <img src="ht
The npm package create-chakra-icons receives a total of 597 weekly downloads. As such, create-chakra-icons popularity was classified as not popular.
We found that create-chakra-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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.