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

sir-cli

v1.0.5

Published

a scaffold cli tool for koa2 web framework

Downloads

3

Readme

Status: building

a command-line tool for web framework development based on koa2

includes - 前后端集成式开发,支持开发热更新 - 多前端项目模板支持,提供可配置webpack配置集成 - 友好的开发流程 - 基于koa2, 获得较好的开发体验,Node.js 8+ - 浏览器自动刷新

installation

npm i -g sir-cli

Command line Tool Api

sir init       // 初始化项目
sir start      // 启动项目,本地开发
sir pack       // 前端工程资源打包
sir create     // 创建前端工程项目
sir upload     // 前端工程资源上传
sir deploy     // 发布项目
sir config     // 工具配置

Quick Start

$ sir init

$ yarn/npm install

$ sir start

Detail

on progress, prepare gitbook

Issue

  1. yarn remove [package], resync yarn lockfile especially on 'node-sass' by 'sass-loader', it will lead to sass compilation fail. u can remove sass-loader and add again to fix this issue

    移除模块时, yarn会重置整个依赖关系,特别的会重新下载编译node-sass, 该模块下载较困难会导致模块缺失。移除依赖的sass-loader后,重新加载回来使用:yarn add

  2. headers have already been sent when access files not existed, will occurs this problem, cause the webpack-dev-middleware dont support koa2, lack of pormise support

调试

本地调试:

使用 npm link 绑定到全局变量。

取消绑定 npm unlink

npm link 后,全局命令会有当前命令行工具: sir, 使用

name proposal

burn | tomato | eli | sir | carbon | teris | ellie | hot2 | madam

sir start | pack | upload