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

palife-jssdk

v1.2.3

Published

PA JS SDK

Downloads

4

Readme

开始使用Gitlab仓库


Clone仓库

使用SSH协议

使用SSH协议可以不用每次都输入用户名和密码,但是需要先添加SSH Key

1. 查看是否已经有了ssh密钥
cd ~/.ssh

如果没有密钥则不会有此文件夹,有则备份删除

2. 生成密钥
ssh-keygen -t rsa -C “[email protected]”
#注意替换 *[email protected]* 为自己的邮箱地址。

按3个回车,密码为空。

Your identification has been saved in /home/tekkub/.ssh/id_rsa.
Your public key has been saved in /home/tekkub/.ssh/id_rsa.pub.
The key fingerprint is:
………………

成功执行后会生成一对私钥和公钥:

ls ~/.ssh
id_rsa		#id_rsa为自己电脑上的ssh私钥
id_rsa.pub	#id_rsa.pub为放在服务器上验证的ssh公钥	
3. 将ssh的公钥添加到gitlab

在gitlab中添加ssh key即可,http://git.palife.com/profile/keys

4. 克隆仓库
git clone ssh://[email protected]:2222/linyongqing731/PALifeJSSDKWeb.git

目前搭建的gitlab使用的是服务器的2222端口,所以需要使用上述协议格式。

不要使用 git.palife.com 提示的 [email protected]:linyongqing731/PALifeJSSDKWeb.git

使用http协议

git clone http://git.palife.com/linyongqing731/PALifeJSSDKWeb.git

使用http协议的方式和远程仓库交互,每次交互都需要输入用户名和密码

Git配置

基本配置

git config --global user.name linyongqing731
git config --global user.email [email protected]
# 注意替换 *linyongqing731 和 [email protected]* 为自己的信息。

支持中文文件路径

 git config --global core.quotepath false

工作流相关

branch

查看git的配置

git config --list