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

@ntbl/scripts-search-wiki

v1.0.0

Published

一个把文本词汇变成 markdown 添上搜索百度百科的链接和简介的脚本。

Downloads

2

Readme

searchWiki

一个把文本词汇变成 markdown 添上搜索百度百科的链接和简介的脚本。

installation

$ npm i @ntbl/scripts-search-wiki -g

Usage

search-wiki [OPTIONS] INPUT [OUTPUT]

  • -f,--format [name] 输入文本的处理格式,可选值('掌阅')
  • -t, --text [content] 在命令行输入词语并打印,多个时以冒号分隔

Example

// word.txt

智人
尼安德特人
$ search-wiki word.txt
<!-- word.md -->

- [**智人**](https://baike.baidu.com/item/%E6%99%BA%E4%BA%BA) - 智人(学名:Homo sapiens),是人属下的唯一现存物种。形态特征比直立人更为进步。分为早期智人和晚期智人。早期智人过去曾叫古人,生活在距今25万~4万年前,主要特征是脑容量大,在1300毫升以上;眉嵴发达,前额较倾斜,枕部突出,鼻部宽扁,颌部前突。一般认为是由直立人进化来的,但有争议认为直立人被后来崛起的智人(现代人)走出非洲后灭绝或在此之前就灭绝了。晚期智人(新人)是解剖结构上的现代人。大约从距今四五万年前开始出现。两者形态上的主要差别在于前部牙齿和面部减小,眉嵴减弱,颅高增大,到现代人则更加明显。晚期智人臂不过膝,体毛退化,有语言和劳动,有社会性和阶级性。
- [**尼安德特人**](https://baike.baidu.com/item/%E5%B0%BC%E5%AE%89%E5%BE%B7%E7%89%B9%E4%BA%BA) - 尼安德特人(Homo neanderthalensis),简称尼人,也被译为尼安德塔人,常作为人类进化史中间阶段的代表性居群的通称。因其化石发现于德国尼安德特山谷而得名。

或者,使用 -t 选择在命令行直接输入文本。

$ search-wiki -t 智人:尼安德特人