New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

dicebear-next

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dicebear-next

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Dicebear in Next.js

Start using Dicebear avatar generation services in your Next.js projects.

🔨 Installation

# npm
npm i dicebear-next


# yarn
yarn add dicebear-next

💼 Usage

import Dicebear from 'dicebear-next';

<>
  {/* 
    It is a regular Next.js Image component,
    but with options.
   */}
  <Dicebear.Adventurer
    alt={'Dicebear avatar'}
    options={{
      seed: 'XenoPOMP',
      flip: false,
      rotate: 0,
      scale: 100,
      radius: 0,
      backgroundType: ['solid', 'gradientLinear'],
    }}
    width={100} // Required
    height={100} // Required
    style={{
      width: '100%',
      aspectRatio: 1,
    }}
  />
</>

🍽️ Result

FAQs

Package last updated on 28 Jan 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