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

ttool

v0.0.1

Published

react web tool react-router react-bootstarp

Downloads

6

Readme

ttool 工具

####主要特点

  • webpack
  • koa 服务器实现线上线下一致的开发环境,请求资源动态实时打包,响应及时流畅,提前预知问题
  • npm 组件管理 ,另实现了css 资源引用相对于node_components目录直接使用
  • gulp 打包
  • weinre 手机调试集成
  • ginit 支持自定义模板资源
  • less
  • html 支持inculde tms区块 ===
  • 代理 pac

安装

$ sudo npm install -g ttool

sudo npm  install bower -g  

sudo npm  install weinre -g 

使用过程

 mkdir my-new-project && cd $_
 ttool init(初始化项目 )

 ttool router list l (创建一个名称为list模板类型为list的路由页面)

 ttool start(开启项目)
 
 ttool build(打包)

命令使用

  • ttool start weinre 手机调试打开项目(weinre 需要全局安装)
  • ttool start proxy 打开代理 (需要将pac设置系统的网络代理)
  • ttool start wp 打开代理 + 手机调试(weinre(需要将pac设置系统的网络代理)
  • ttool start 开启项目
  • ttool build 打包项目
  • ttool ut [url] 替换atool中template文件中自定义内容
  • ttool init [url?] 项目初始化 后面参数实现自定义初始化
  • ttool task [name] 执行glupfile 中自定义的其他对应命令
  • ttool data [name][type?] 创建本地mock数据type submit(s)list(l)data(d)
  • ttool r [name][type?] 创建路由
  • ttool c [name] 创建components

template开发

可以直接fork template 目录代码修改

init 初始化自定义开发

可以直接fork template/root 目录代码修改

注意node版本要求在0.11.x以上, 请更新到最新稳定版本

bug反馈 [email protected]