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

@firstshow/fstp

v0.0.6

Published

创建FS模板项目的cli

Downloads

4

Readme

安装

  npm install -g @firstshow/fstp

查看帮助

  # 查看版本号
  fstp -v
  # 查看所有帮助
  fstp -h
  # 查看初始化项目帮助
  fstp init -h
    --ssh   使用ssh方式下载模板,默认ssh方式
    --http   使用http方式下载模板
    -g, --git   项目创建后自动初始化git并同步到远程仓库,默认手动

项目说明

| 项目名称 | 说明 | 版本支持 | | ----------------------------------- | --------------------------------------------- | -------- | | fs-alipay-iot-mina-ts | 支付宝 IOT 小程序 TS 模版 | | | fs-wechat-mina-ts | 微信小程序 TS 模版 | | | fs-douyin-mina-ts | 抖音小程序 TS 模版 | | | fs-taro | Taro 小程序模版 | | | fs-vite-vue3-web-admin | Vite 后台管理系统模版 | | | fs-vite-vue3-mobile | ViteH5 模版 | | | fs-alipay-mina-plugin-ts | 支付宝小程序插件模版 | v0.0.6 | | fs-wechat-mina-plugin-ts | 微信小程序插件模版 | v0.0.6 | | fs-wechat-mina-component-ts-webpack | 微信小程序自定义组件库模板 TS(webpack 打包) | v0.0.6 |

快速开始

第一步:【重要】确保有 gitlab/aliyun 上的 ssh 权限 第二步:先在 gitlab/aliyun 上创建仓库 第三步:本地拉取模板项目 第四步:将模板项目推送到远程

  • [推荐]方法一,拉取模版上传远端一步到位
# fstp init 加上-g,自动绑定远程git目录,确保远程项目已建立(重要!!!)
fstp init -g <项目名(项目名与远程新建的项目名称一致>
  • 方法二,需要手动上传远端
# 方法二:手动绑定远程目录,项目名必填
fstp init <项目名>

cd <项目名> && git init
git remote add origin <远程仓库ssh地址>
git add ./*
git commit -m "feat: init"
git push -u origin master

异常

  • 私钥不能含有密码,删除后才能使用
cd ~/.ssh
# ls 查看所有秘钥,一般只有一对秘钥,默认名 id_rsa 和 id_rsa.pub
ssh-keygen -p

# 如果有多对秘钥,需要指定私钥文件名
ssh-keygen -p -f <私钥名>

# 提示输入旧密码,输入后,一直回车就行