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

footer-section

v1.2.0

Published

Basic footer section with RWD.

Downloads

9

Readme

footer-section

Basic footer section with RWD.

props

  • There are three modes for RWD: desktop, tablet and mobile.
  • desktopOnlyPanelKeys: define which panels will only display on desktop mode.
  • mobilePanelKeys: define which panels will be allowed on mobile mode.
  • maxRwdMode: define the largest mode package will use, ex: set to tablet will disable desktop mode.

children

There are two kinds of panel avaliable: main panel and links panel.

main panel

  • Main panel will be displayed on every RWD modes.
  • Pass data-main_panel={true} prop to put child component in main panel.
  • Pass data-(logo|app|copyright)={true} prop can display child as (logo|app|copyright) layout.
<!-- logo child -->
<a data-main_panel={true} data-logo={true} href='http://tw.pbplus.me'>
  <img data-image={true} src='https://tv.pbplus.me/img/logo.svg' title='Logo' />
  <span data-title={true}>運動讓生活更有趣</span>
</a>

<!-- app child -->
<a data-main_panel={true} data-app={true}>
  <img data-icon={true} src='https://tv.pbplus.me/img/icon/apple-touch-icon-114x114.png' title='App Logo' />
  <span data-title={true}>pb+TV App立即下載</span>
</a>

<!-- copyright child -->
<div data-main_panel={true} data-copyright={true}>
  <div>© 2016-2017 pbplus.</div>
  <div>All Right Reserved</div>
</div>

links panel

  • Pass data-links_panel={true} prop to put child component in links panel.
  • Pass data-panel_key={KEY} prop to put child components with same KEY in a links panel.
  • Children with data-panel_header={true} prop will be the header of the links panel.
<!-- header child of panel {0} -->
<div data-links_panel={true} data-panel_key={0} data-panel_header={true}>
  <span data-title={true}>Services</span>
  <span data-description={true}>平台服務</span>
</div>

<!-- child of panel {0} which will be skyblue on mouse hover -->
<a data-links_panel={true} data-panel_key={0} data-color='skyblue' href='http://facebook.com'>
  <span data-title={true}>TV直播</span>
  <span data-description={true}>運動賽事、pb+自製節目及更多活動精彩直播</span>
</a>

<!-- child of panel {2} with icon -->
<a data-links_panel={true} data-panel_key={1}>
  <img data-icon={true} src='https://tv.pbplus.me/img/icon_fb_share.svg' title='pb+運動平台 官方粉絲團' />
  <span data-title={true}>pb+運動平台 官方粉絲團</span>
</a>

Start demo server

cd tmp/
npm install
npm start # will listen on http://localhost:300