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

nejpublisher

v0.0.1

Published

NEJPublisher

Downloads

6

Readme

NEJPublisher

通过esprima解析出AST,混淆后,通过escodegen生成代码 前端发布工具

以下步骤以windows为例子 1.安装nodejs 以及安装npm包管理工具

2.安装grunt-cli到全局 打开cmd命令行输入 npm install -g grunt-cli

3.命令行输入npm install grunt-contrib-nejpublisher,路径不限定 此步骤需要安装的grunt插件已经安装完成,你可以在自己项目新建Gruntfile文件来(以远程任务或者插件形式或者你自己喜欢的形式)管理自己的任务(grunt学习站点:http://www.gruntjs.org/article/getting_started.html)PS:或者参照下面的办法完成打包或者皮肤的合并功能。

打包功能:

a.拷贝release.conf到你的项目去,路径不限定

b.在命令行中,切换到
grunt-contrib-nejpublisher所在的目录,在此目录下执行如下命令:
grunt dopublish --root=D:/workspace/works/grunt-pulgin-test/
(其中,“root=”后跟随的路径为release.conf文件所在的目录)

c.以后要打包其他项目,先配置你的release.conf,
直接在grunt-contrib-nejpublisher所在的目录执行命令,
也可以写批处理文件:(以下用E盘举例)
	E:
	cd E:/workspace/node_modules/grunt-contrib-nejpublisher
	grunt dopublish --root=E:/workspace/works/grunt-pulgin-test/

皮肤合并功能(云音乐版本):

a.你需要配置xxx.conf,可以参考skin.conf文件

b.命令行下切换到grunt-contrib-nejpublisher所在的目录,在此目录下执行如下命令:
grunt doskinmerge --dir=D:/workspace/skin.conf

c.通过bat文件来运行
	D:
    cd D:/workspace/node_modules/grunt-contrib-nejpublisher
    grunt doskinmerge --dir=D:/workspace/skin.conf