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

generator-yoapp

v1.4.1

Published

![](http://www.lore-w.com/images/2017/app-animation.gif)

Readme

Yeoman generators

基于Yeoman初始化项目的脚手架文件和相关配置,使用Webpack、gulp、PostCss

  • Basic
  • Node //TODO
  • Vue //TODO
  • Weex //TODO
  • React //TODO
  • React Native //TODO

Install

$ npm install -g yo generator-yoapp

Usage

$ yo yoapp

Project init

$ gulp

Dev mode

$ gulp --evn=prd

Prd mode

$ gulp -h

Show help

Options

  • --skip-welcome-message 跳过项目初始化前的大胡子欢迎信息
  • --skip-install 只初始化项目,跳过npm package安装

Feature

  • 使用webpack编译es6和包管理
  • 使用gulp控制项目的构建流程
  • 使用POSTCSS
  • 支持es6 Promise
  • 已经对jquery和jquery插件的支持做兼容,选择使用jquery包即可生成相关的配置文件和使用示例
  • 当选择使用jquery、hammerjs、lodash、mustache在打包文件时默认提取公共代码到vendors.js
  • LiveReload

POSTCSS EXAMPLE

  • base64 background: inline('demo.png')
  • 获取图片宽高 width('demo.png') or width('demo.png', 2)
  • for @for $i from 1 to 3 {}
  • each @each $icon in (foo, bar, baz) {}
  • 嵌套
  • 变量 $blue: #056ef0
  • mixin
  • 动态图片路径(hash) background: resolve('demo.png')
  • 浏览器兼容性前缀
  • 图片精灵//TODO
  • @at-root
  • Property Lookup .heading {margin: 20px;padding: @margin;}
  • &
  • PX自动转REM

POSTCSS DOCUMENTS