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

naiver-front-project

v1.0.5

Published

create a personal front_end project, includes some basic files and options

Readme

a command tool to create front project with basic files and codes, generate new files with basic codes for project.

命令行工具,可以创建前端项目的基础文件和代码,也可以为已有项目创建拥有基础代码的新文件。

it is not a Widely applicable tool, because it based on my provately experence. but, it probably just useful for you.

它可能不是一个广泛适用的工具,因为它只是根据我个人的项目经验而来。不过,也许它刚好对你有用。

usage

创建项目

npm install -global naiver-front-project
naiver create <projectName>

根据选择的类型,在当前目录创建一个项目:

  • v2e(默认): vue2 + elementUI 的项目, 需要node版本为 ~14.16.1
  • wxApp: 微信 minapp + sass 的项目
  • web: 原生多页面web + polyfill + sass 的项目

创建的项目都包含了基本的结构和基础代码:

  • 已搭建好的项目开发与构建的环境与配置
  • 模块化的项目结构
  • 全局状态管理机制与基础代码
  • 路由、导航的机制与基础代码
  • 基础的登录、注册、欢迎、主页与通用的视频播放、下载等页面
  • 自动维护微信登录状态的功能
  • ajax的可配置的封装函数
  • 一些实用的函数、方法、与类

创建文件

待完善