npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@waxio/widget-marketplace

v0.4.1

Published

vIRL Marketplace Widget is the fastest and easiest community-driven tools to fully unlock the potential of your digital assets. Which just a few simple steps to set up and embed it to your website, a fully functional NFT marketplace is ready to use. There

Downloads

23

Readme

alt text

Overview

vIRL Marketplace Widget is the fastest and easiest community-driven tools to fully unlock the potential of your digital assets. Which just a few simple steps to set up and embed it to your website, a fully functional NFT marketplace is ready to use. There’s no better time than now to onboard the NFT space, and build a brand that is ready for immense growth ahead.

Change logs

0.2.0

  • Embed multi collections
  • Filter by collection and schemas

0.3.0

  • Connect wallet plugin
  • Asset detail
  • User inventory

0.4.0

  • Make offer for rapid sale

USAGE

Install by CDN (Plain HTML)

1. Place embed in the body of your HTML

<html lang="en">
   <head>
      <link rel="stylesheet" 
        href="https://cdn.jsdelivr.net/npm/@waxio/widget-marketplace@latest/build/main.css">
      <script 
        src="https://cdn.jsdelivr.net/npm/@waxio/widget-marketplace@latest/build/main.js"></script>
  </head>

  <body>
      <wax-marketplace collections='your-collections-name'/>
  </body>
</html>

2. Done

Iframes are not supported Use of iframes is not supported as it has security concerns. We are working on other ways to embed.

Install by Package

1. Install dependency

npm install @waxio/widget-marketplace

2. Import the script (ES6)

import WaxMarketPlace from '@waxio/widget-marketplace';

3. Place embed

<wax-marketplace collections='your-collections-name' itemPerPage={12}/>

4. Done!

Options

Options have placed the element as attributes with a value. which looks as follows:

<wax-marketplace collections="your-collections-name" itemsperpage="12"> </wax-marketplace>

Most attributes are optional except for the collections

Attribute | Value | Default | Description --- | --- | --- | --- collections (required) | your-collections-name | None | Set your collection name so the API knows which collection to send to the embed. Example: bcbrawlers,crptomonkeys,dc.funko. itemperpages | number between 1 and 100 | 12 | Set a value on how the maximum amount of NFT's to show per pagecollection (required) | your-collection-id | None | Set your collection name so the API knows which collection to send to the embed. isshowfilter | true/false | true | To display filter or not. network | Supported chains/networks | mainnet | Mainnet is the default network you can set it to testnet if you want to try it out first. redirect | None | None | The redirect URL is optional and is a way for you to interact with a transaction that happened see the redirect URL, default behavior is to redirect the user back to the URL it came from with no extra params.

Redirect URL

If a redirect URL is placed as an attribute after the user has signed the transaction, the user will be redirected to the redirect URL after the transaction has been completed. we will include a couple of attributes in the query string to help you with the process

  • tx: the transaction hash
  • status: the status of the transaction (executed or failed) this still needs to be validated as a successfully executed
  • sale: the sale id
  • assets: the asset ids as "12345,12345,12345"

while we provide some useful data it's still up to you to validate that the transaction is valid and the user did make the sale. Everybody can write to a URL so be careful.

Styling

:root {
  /* the primary color */
  --wax-primary-color: #ff8474;

  /* the secondary color */
  --wax-secondary-color: #583d72;

  /* the font-family for all text */
  --wax-font-family: Arial, Helvetica, sans-serif;
  --wax-font-size--large: 18px;

  /* the default font size (best kept as is) */
  --wax-font-size: 14px;

  /* the smaller font size (best kept as is) */
  --wax-font-size--small: 12px;

  /* border radius for all roundings of inputs, buttons, images */
  --wax-radius: 8px;
  --wax-radius-small: 4px;

  /* border radius for card */
  --wax-radius-card: 8px;

  /* border color for buttons, inputs */
  --wax-border: #353945;

/* border color for the cards (if none use same color as card background) */
  --wax-border-card: #23262f;

  /* border thickness */
  --wax-border-size: 1px;

  /* color primary text */
  --wax-text-color: #fcfcfd;

  /* colors for non primary text */
  --wax-text-color-secondary: #777e90;

  /* filter button, buy button in the card (highlight) */
  --wax-btn-primary-bg: #23262f;
  --wax-btn-primary-border: #ff8474;
  --wax-btn-primary--active: #23262f;
  --wax-btn-primary-bg--active: #ff8474;
  --wax-btn-primary-border--active: #ff8474;

  /* backgrounds */
  /* list background in filters (schemas) */
  --wax-bg-list-item: #141416;

  /* all inputs (filters) */
  --wax-bg-inputs: #23262f;

  /* card background */
  --wax-bg-card: #23262f;
}

Theme

Light mode

:root {
  --wax-primary-color: #7d70f6;
  --wax-secondary-color: #583d72;
  --wax-warning-color: #fea42d;
  --wax-font-family: Inter, sans-serif;
  --wax-font-size--large: 18px;
  --wax-font-size: 14px;
  --wax-font-size--small: 12px;
  --wax-radius: 12px;
  --wax-radius-small: 4px;
  --wax-radius-card: 16px;
  --wax-border: #DEDEDE;
  --wax-filter-border: #fbfbfb;
  --wax-border-card: rgba(125, 112, 246, 0.32);
  --wax-border-size: 1px;
  --wax-text-color: #4e4e4e;
  --wax-text-color-secondary: #777e90;
  --wax-btn-primary-bg: #fff;
  --wax-btn-primary-border: #cbc6fb;
  --wax-btn-primary--active: #fff;
  --wax-btn-primary-bg--active: #7d70f6;
  --wax-btn-primary-border--active: #7d70f6;
  --wax-bg-list-item: #fbfbfb;
  --wax-bg-inputs: #fff;
  --wax-border-inputs: #00000026;
  --wax-bg-card: #fff;
  --wax-skeleton-bg: #efefef;
  --wax-bg-modal: #fff;
}

Dark mode

:root {
   --wax-primary-color: #7d70f6;
  --wax-secondary-color: #583d72;
  --wax-warning-color: #fea42d;
  --wax-font-family: 'Inter', sans-serif;
  --wax-font-size--large: 18px;
  --wax-font-size: 14px;
  --wax-font-size--small: 12px;
  --wax-radius: 12px;
  --wax-radius-small: 4px;
  --wax-radius-card: 16px;
  --wax-border: #4E4E4E;
  --wax-filter-border: #191631;
  --wax-border-card: rgba(125, 112, 246, 0.32);
  --wax-border-size: 1px;
  --wax-text-color: #FFFFFF;
  --wax-text-color-secondary: #CFCFCF;
  --wax-btn-primary-bg: #191631;
  --wax-btn-primary-border: #A49BF9;
  --wax-btn-primary--active: #fff;
  --wax-btn-primary-bg--active: #7d70f6;
  --wax-btn-primary-border--active: #7d70f6;
  --wax-bg-list-item: #191631;
  --wax-bg-inputs: #191631;
  --wax-border-inputs: #A49BF9;
  --wax-bg-card: #191631;
  --wax-skeleton-bg: #33333d;
  --wax-bg-modal: #191631;
}