Socket
Book a DemoInstallSign in
Socket

@mvc-org/mvc-resources

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mvc-org/mvc-resources

mvc resources cdn

1.0.6
latest
npmnpm
Version published
Weekly downloads
66
214.29%
Maintainers
3
Weekly downloads
 
Created
Source

MVC Resources

Overview

This repository contains resources such as icons, logos, and other assets.

We use unpkg service to serve these assets.

To get the URL of an asset, use the provided getAssetUrl function.

import { getIconUri } from '@mvc-org/mvc-resources'

const uri = getIconUri({
  type: 'metaContract',
  codehash: 'a2421f1e90c6048c36745edd44fad682e8644693',
  genesis: '94c2ae3fdbf95a4fb0d788c818cf5fcc7a9aa66a', // genesis for usdt
})

console.log(uri)
// https://unpkg.com/@mvc-org/mvc-resources/icons/meta-contract/usdt.jpg

To add a new asset

  • Fork this repository
  • Add the asset to the appropriate folder.
  • Add asset lookup rules to corresponding the rules file.
  • Create a pull request to the main repository and wait for approval. It will be published to unpkg after approval.

FAQs

Package last updated on 16 May 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.