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 🙏

© 2025 – Pkg Stats / Ryan Hefner

nocode-format

v0.2.1

Published

nocode text format

Readme

About

NoCode Tech text formater

Install

npm install git+ssh://[email protected]:4321/frontend/nocode-format.git

Usage

<wxs src="path/to/format.wxs" module="format" />

import Format = require('nocode-format')

const format = new Format()

// 当配置 nouns 为链接时,同步专有名词数据 (在场景必须确保本地专有名词库为最新时调用,否则请依赖自动同步)
await format.updateNouns();

//更改当前名词数据
format.updateNounsByData(['a', 'b'])

// 格式化文本
format.formatText('text', {
    hump: false // disable hump process
})

// 格式化 HTML
// 注意:HTML 中的元素标签必须包含开闭标签 <tag></tag>
format.formatHTML('<em>adad</em>')

// 格式化 HTML 文本
format.formatHTMLText('<a href="dad">adad</a>hhshsh<img scr="aaa" />')
// 使用无 fetch 版本
import Format = require('nocode-format/lib/nofetch')

const format = new Format({
    nouns: ['a', 'b']
})

format.formatText('a b')

Config

{
    "nouns": "https://nocodeadminapi.readhub.me/nouns", // 如果配置为链接,则同步远程服务器配置的专有名词
    "nouns": ["App"], // 不配置则使用默认专有名词
    "autoSync": true, // 是否自动同步远程服务器专有名词
    "autoSyncInterval": 1000 * 30 // 同步间隔
}