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

ynpm-aabb

v0.0.4

Published

Downloads

4

Readme

ynpm server 端

API 接口文档2222

url | 类型 | 参数 | 描述 | -------- | -------| -------| -------| /user/signIn | post | {userName,password} | 登陆 | /user/signUp | post | user实体 obj | 注册用户信息 | /user/getUserInfo | post | userName string | 根据名称查询用户信息 | /package/get | get | userName string(非必须) | 组件列表 | /package/set | get | package实体 | 添加组件信息 | /package/MyPublish | get | 根据user_id | 我的发布 | /package/addDownloadNum | get | installPackMap 一个数组的字符串 | 根据下载量自增1 | /package/overview | get | 包总数 | 总览 | /user/getLogin | get | 返回前端url,前端跳转 | 跳到第三方登录页 | /user/auth | get | ticket string(非必需) | ticket获取用户信息,存到库里 | /user/out | get | session清除 | 退出出登录 | /sshk/get | get | user_id从session中取 | 根据user_id查sshk | /sshk/add | post | title string 标题,sshk string 公钥 | 新增sshk | /sshk/del | post | id 唯一标识 | 删去sshk |

##user实体类

`user_info`.`email`,
`user_info`.`password`,
`user_info`.`name`,
`user_info`.`nick`,
`user_info`.`detail_info`,
    

##package实体类

`package`.`name`,
`package`.`version`,
`package`.`repository_url`,
`package`.`author`,
`package`.`home_page`,
`package`.`pak_group`
    

http://172.20.27.204:8081/#browse/browse:ynpm-private:%2540yonyou%2Fac-pagination%2Fac-pagination-0.0.3.tgz

某个仓库信息 http://172.20.27.204:8081/service/rest/beta/components?repository=ynpm-private

仓库列表接口

http://172.20.27.204:8081/service/rest/beta/repositories

组件列表接口

http://172.20.27.204:8081/service/rest/beta/components?repository=ynpm-private&group=org.osgi

明天工作内容:

  1. 开发web端,拷贝cmd中的sshk填充,进行保存。
  2. server 端开发保存sshk接口。(就是修改user中的ssk和用户名接口)