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

hexo-filter-text-autospace

v1.2.5

Published

A hexo plugin to insert spaces between CJK chars and latin chars.

Downloads

80

Readme

hexo-filter-text-autospace

本项目是一个 hexo 插件,用于在 CJK 字符与拉丁字符中间插入适当的间距。值得注意的是,并不直接插入一个半角空格,而是精确控制插入间距的宽度,像 Word 一样。

本项目独立完成,但从 text-autospace.js 中汲取许多灵感,在此对 text-autospace.js 和 findAndReplaceDomText 的作者以及维护者表示感谢。

用法

$ npm install hexo-filter-text-autospace

在项目根目录的 _config.yml 中添加

text_autospace_filter:
  enable: true
  inject_css: true
  tag_name: 'hanla'
  entry: 'body' # tag
  # entry: '#post' # id
  # entry: '.content' # class

Noticeentryclass 类型时,仅支持输入一个类,形如 .class1.class2 的规则是不被允许的。

示例

我的 hexo 主题展示站:https://cerallin.github.io.

本项目的一个替代方案

~~那你为什么写这个插件呢~~

使用 text-autospace.js.

如果你不介意向你的 hexo 网站 / 主题中添加 jQuery 依赖以及 js 文件,推荐使用 text-autospace.js.

LICENSE

GPL3+