You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@vechain/picasso

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vechain/picasso

General purpose deterministic identity icon library in svg format, mostly for vechain thor addresses


Version published
Weekly downloads
467
decreased by-37.06%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Picasso

npm version

General purpose deterministic identity icon library in svg format, mostly for vechain thor addresses.

sample

Install

By CDN

Picasso is available at jsDelivr, you can import it directly.

<script src="https://cdn.jsdelivr.net/npm/@vechain/picasso"></script>

By NPM

# NPM
npm install --save @vechain/picasso

# Yarn
yarn add @vechain/picasso

Usage

import { picasso } from '@vechain/picasso' // not required if imported from script tag

const div = document.createElement("div")
const svg = picasso('0xf6e78a5584c06e2dec5c675d357f050a5402a730')
div.style.background = `no-repeat url('data:image/svg+xml;utf8,${svg}')`
div.style.height = '200px' 
div.style.width = '200px' 

document.body.appendChild(div);

License

picasso is licensed under the GNU Lesser General Public License v3.0, also included in LICENSE file in repository.

Keywords

FAQs

Package last updated on 05 Nov 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc