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 🙏

© 2026 – Pkg Stats / Ryan Hefner

hexo-tag-swiper

v2.0.2

Published

a plugin that you can using swiperjs in Hexo post.

Readme

hexo-tag-swiper

A plugin that you can using swiperjs in Hexo post.

Installation

npm install --save hexo-tag-swiper

Usage

Use with any markdown content.

Syntax:

{% swiper %}
  {% swiperItem %}
    your content 1
  {% endswiperItem %}
  {% swiperItem %}
    your content 2
  {% endswiperItem %}
{% endswiper %}

Example:

{% swiper %}
  {% swiperItem %}
    William Stoner is born on a small farm in 1891. One day his father suggests he should attend the University of Missouri to study agriculture. Stoner agrees but, while studying a compulsory literature course, he quickly falls in love with literary studies. Without telling his parents, Stoner quits the agriculture program and studies only the humanities. He completes his MA in English and begins teaching. In graduate school, he is friendly with fellow students Gordon Finch and Dave Masters. World War I begins, and Gordon and Dave enlist. Despite pressure from Gordon, Stoner decides to remain in school during the war. Masters is killed in France, while Finch sees action and becomes an officer. At a faculty party, Stoner meets and becomes infatuated with a young woman named Edith, who is staying with an aunt for a few weeks.
  {% endswiperItem %}
  {% swiperItem %}
    Stoner woos Edith, and she agrees to marry him. Stoner’s marriage to Edith is bad from the start. It gradually becomes clear that Edith has profound emotional problems. Significantly, she is bitter about having cancelled a trip to Europe with her aunt to marry Stoner. After three years of marriage, Edith suddenly informs Stoner that she wants a baby. She suddenly becomes passionate sexually, but this period is brief. When their daughter Grace is born, Edith remains bedridden for nearly a year, and Stoner largely cares for their child alone. He grows close with his young daughter, who spends most of her time with him in his study. Stoner gradually realizes that Edith is waging a campaign to separate him from his daughter emotionally.
  {% endswiperItem %}
{% endswiper %}

Use with image.

Syntax:

{% swiper %}
  {% swiperImageItem [url] [ratio] %}
  {% swiperImageItem [url] [ratio] %}
{% endswiper %}

Example:

{% swiper %}
  {% swiperImageItem https://fastly.jsdelivr.net/gh/Dedicatus546/image@main/2023/04/02/202304022159088.avif 1.77778 %}
  {% swiperImageItem https://fastly.jsdelivr.net/gh/Dedicatus546/image@main/2023/04/02/202304022159851.avif 1 %}
{% endswiper %}

You can see the demo page and watch the effect.

Configuration

You can configure the js, css in your main _config.yml:

Example configuration:

swiper:
  js: "https://cdn.jsdelivr.net/npm/[email protected]/swiper-bundle.min.js"  // default is "https://cdn.jsdelivr.net/npm/[email protected]/swiper-bundle.min.js"
  css: "https://cdn.jsdelivr.net/npm/[email protected]/swiper-bundle.min.css"  // default is "https://cdn.jsdelivr.net/npm/[email protected]/swiper-bundle.min.css"