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

@nymdev/clay-meta-site

v0.1.1

Published

twitter:site, og:site_name, and og:type tags

Downloads

7

Readme

clay-meta-site

twitter:site, fb:app_id, og:site_name, and og:type tags!

Install

npm install --save @nymdev/clay-meta-site

Adds site-specific tags to the head:

  • twitter:site
  • og:site_name
  • og:type
  • apple-mobile-web-app-title (using site name)
  • format-detection (to kill telephone links on mobile browsers)
  • icon (square site icon)
  • mask-icon
  • icon sizes="196x196"
  • article:publisher (for facebook)
  • fb:app_id

Usage

Once you install it, it will be automatically recognized by amphora. It has the following properties:

  • twitter should be a twitter handle (without an @-sign)
  • facebook should be your site's facebook name
  • facebookID should be a facebook app id
  • siteName should be a human-readable site name, which will appear in Google search results and Facebook posts
  • ogType should identify the type of page for sharing, per the Open Graph protocol
  • detectTel is "yes" or "no" to detect telephone links in mobile browsers
  • icon, maskIcon, and 196pxIcon should be links to your icons
  • maskColor should be a hex color value, e.g. #FF5656

A Note On Head Components

This component lives in the head of the page, and isn't editable directly. Use the componentRef behavior to affect it when you edit other components on the page.