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

products-drawer

v0.0.9

Published

ANGULAR

Downloads

3

Readme

ANGULAR

Products Boards that will get data and show products in a luxury format

----------------------------DEMO

https://products-drawer.stackblitz.io

https://stackblitz.com/edit/products-drawer

For example :

https://www.burjcrown.com/

----------------------------INSTALLATION

    npm i products-drawer --force

    and in app.module

    import {ProductsDrawerModule } from 'products-drawer'

----------------------------NOTE

At first you should install font-awsome , httpClient and bootstrap !

----------------------------USAGE

---------------------------HTML FILE

    <products-drawer 
    [data]="data">
    </products-drawer>

---------------------------TS FILE

    data = {
        info: [
        {
            wishlist: true,
            key: 1,  //        KEY OF PRODUCT
            off: 10,
            f1: 'encre noire',
            f2: 'LALIQUE',
            f3: '',
            f4: 350,
        },
        {
            wishlist: false,
            key: 2,
            off: 20,
            f1: 'Lalique Ametys',
            f2: 'LALIQUE',
            f3: 'FRANCE',
            f4: 450,
        },
        {
            wishlist: true,
            key: 3,
            off: 10,
            f1: 'BIK',
            f2: 'BIK',
            f3: 'IRAN',
            f4: 200,
        },
        {
            wishlist: false,
            key: 4,
            off: 25,
            f1: 'Tuscan',
            f2: 'tomford',
            f3: 'FRANCE',
            f4: 800,
        },
        {
            wishlist: true,
            key: 5,
            off: 10,
            f1: 'Aljohar',
            f2: 'Alreza',
            f3: 'UAE',
            f4: 250,
        },
        {
            wishlist: false,
            key: 6,
            off: 45,
            f1: 'WM',
            f2: 'JOOP',
            f3: '',
            f4: 250,
        },
        {
            wishlist: true,
            key: 7,
            off: 10,
            f1: 'PARDON',
            f2: 'Black Afgano',
            f3: '',
            f4: 500,
        },
        {
            wishlist: false,
            key: 8,
            off: 0,
            f1: 'BA',
            f2: 'Black Afgano',
            f3: '',
            f4: 900,
        },
        {
            wishlist: true,
            key: 9,
            off: 10,
            f1: 'WomenPA',
            f2: 'Romansteel',
            f3: 'ITALY',
            f4: 150,
        },
        {
            wishlist: true,
            key: 10,
            off: 0,
            f1: 'BGAtrHarbology',
            f2: 'Harbology',
            f3: '',
            f4: 180,
        },
        {
            wishlist: true,
            key: 11,
            off: 10,
            f1: 'andreas',
            f2: 'ALTOKAD',
            f3: 'JAPAN',
            f4: 250,
        },
        {
            wishlist: true,
            key: 12,
            off: 5,
            f1: 'Catepilar',
            f2: 'GERMO',
            f3: '',
            f4: 150,
        },
        {
            wishlist: true,
            key: 13,
            off: 10,
            f1: 'Fantasy',
            f2: 'Rojohan',
            f3: '',
            f4: 500,
        },
        {
            wishlist: true,
            key: 14,
            off: 5,
            f1: 'andreas',
            f2: 'Schmit',
            f3: 'Swiss',
            f4: 200,
        },
        {

            wishlist: true,
            key: 15,
            off: 25,
            f1: 'Faranhayt',
            f2: 'Alazim',
            f3: 'UAE',
            f4: 500,
        },
        ],

        //If off is between 1 and 40 Off will be orange 
        //If off is greater than 40 Off will be 
        //green and border will be displayed 


        imagePrefix: 'https://MY_URL_ADDRESS/',
        imagePostfix: '/1.jpg',
        //Image will be : imagePrefix+key+imagePostfix

        wishlistApi: 'https://MY_API_ADDRESS&do_id=',
        //product key will be added  to end of this api automatically
        //API will call whenever user click on heart icon(add to wishlist/remove from wishlist)

        destinationUrlPrefix: 'https://MY_ADDRESS',
        //Link will routes whenever user click on Items

        wishlistIconColor: '#67c968',
        columnClass:'col-md-3'//Number of columns per line
    }