
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.
@odx/app-icons
Advanced tools
A lightweight library for displaying app icons as custom elements. This package provides flexible imports, allowing you to include only what you need to optimize your project.
Install the library via npm:
npm i @odx/app-icons
The library provides a custom custom element <odx-app-icon>
to display app icons.
We rely on the esm module behavior in order to keep a global state. If you load an asset from a CDN ensure that the same module of @odx/assets-utils is used throughout your application. One common technique is the usage of an import map (
<script type="importmap">
).
import '@odx/app-icons';
To optimize your bundle, you can import only the specific app icon set you need:
// All app icon sets
import '@odx/app-icons/all';
// Core app icons
import '@odx/app-icons/core';
To optimize your bundle, you can import only the specific app icons you need:
import '@odx/app-icons/core/smt';
<set-name>::<name>
or <name>
with default set (core)<set-name>
<script type="module">
import '@odx/app-icons/core';
</script>
<odx-app-icon name="smt" set="core"></odx-app-icon>
<script src="https://esm.sh/@odx/app-icons" type="module"></script>
<script src="https://esm.sh/@odx/app-icons/<set-name>" type="module"></script>
// Import the core app icon set
import '@odx/app-icons/core';
// Create a app icon dynamically
const appIcon = document.createElement('odx-app-icon');
appIcon.name='core::smt'
document.body.appendChild(appIcon);
This library leverages modern web technologies such as Shadow DOM for encapsulation and CSSStyleSheet.replaceSync() for efficient stylesheet updates. It targets the ES2022 specification, taking advantage of the latest JavaScript features. These technologies are widely supported in most modern browsers.
For a overview of all available assets please refer to our Asset Viewer.
FAQs
A library of app icon assets for ODX
We found that @odx/app-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.