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

updatesf

v1.1.2

Published

作用:爬取指定用户的所有笔记索引 => 合成一篇文章的内容 => 发布/更新该文章

Downloads

5

Readme

updatesf简介

作用:爬取指定用户的所有笔记索引 => 合成一篇文章的内容 => 发布/更新该文章

意义:解决Segmentfault的笔记需要用户手动翻页查询的问题。

配置说明

方式:输入参数

注:参数通过yargs.js解析。

updatesf --user=??? --password=??? --nickname=??? --fileTitle=??? --fileTag=??? --fileCard=???

方式:环境变量

export SF_USER="???@???.com"
export SF_PASSWORD="???"
export SF_NICKNAME="???"
export SF_FILETITLE="???"
export SF_FILETAG='["???", "???"]'
export SF_FILECARD="??????"

参数含义

注:以环境变量配置方式为例。

SF_USER

必填:登录SegmentFault的用户名。

SF_PASSWORD

必填:登录SegmentFault的密码。

SF_NICKNAME

必填:个性网址 > 点击[编辑] > 显示的内容。

SF_FILETITLE

选填:要发布文章的标题,默认值为 "测试文章"

SF_FILETAG

选填: 要发布文章的标签,默认值为'["javascript"]'

SF_FILECARD

选填: 空值,程序发布新文章;非空值,程序更新指定文章。(e.g 1190000007682744)

结果反馈

程序运行成功则输出Status:200