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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@riil/gramcli

v12.3.4

Published

Relax前端开发命令行工具。一次安装,到处运行。跨平台、编译(SASS/ES6/TS)、反向代理服务器

Readme

Relax前端开发工具

Features 功能

  • 反向代理服务器
  • ES6 编译为 UMD 格式
  • SASS 编译
  • CSS 自动添加浏览器前缀 https://github.com/postcss/autoprefixer
  • 自动打开浏览器
  • 跨平台
  • 一次安装,到处运行

Usage Guide 使用指南

1. Installation 安装
npm install -g @riil/gramcli --registry http://172.17.189.71:7001
2. 创建配置文件

在项目根目录创建配置文件 gram.config.js

module.exports = {
  assetsRoot: '../web', // 前端文件目录,对应 /relax/assets
  dev: {
    proxy: '172.17.189.68:9090',  // 代理后端RPC和静态资源地址
    autoOpenBrowser: true         // 是否自动打开浏览器
  }
}
3. 启动服务
gram server

命令列表

  • gram 启动编译与代理服务
  • gram server 启动代理服务
  • gram babel:watch 启动ES6编译
  • gram sass:watch 启动SASS编译

Screenshots 截图

  • 本地文件路径
  • 响应时间戳

  • 代理显示

Jekins编译

  1. 如果没有web-src目录,退出执行
  2. 进入web-src目录
  3. 安装命令
npm install -g @riil/gramcli --registry http://172.17.189.71:7001
  1. 编译,编译后的文件输出到模块对应的前端目录下
gram build

咨询与提交BUG

咨询与提交BUG:http://172.17.189.70/relax-guide/relax-web-dev/issues/new

Contributing

We welcome your contributions! Please have a read of CONTRIBUTING.md for more information on how to get involved.