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

ofer-cli

v1.0.10

Published

ofer的脚手架

Readme

ofer-cli

ofer-cli 介绍

这是用于搭建ofer项目的脚手架。本身是为了便于前端校招的同学做算法笔试题时,可以更加方便的调试代码。ofer从单词offer中衍生而来,寓意是希望大家多拿offer。

本系统对三个平台进行支持:leetcode牛客网赛码网

本系统需要 Visual Studio Code

ofer 平台介绍

1. 支持本地断点调试

2. 调试后自动生成输出文件,可以直接在“在线编程”网站运行

3. 会对答案中的特定依赖项按调用顺序进行合并打包

4. 支持对题目进行管理

5. 操作简单

安装

npm install -g ofer-cli

指令

1. ofer-cli init

下载ofer模版,并初始化项目 初始化的项目

2. ofer-cli start

用于快速创建题目,以创建牛客网的题目为例。步骤如下

1. 选择做题的平台

选择做题的平台

2. 填写题目代号(不填则基于时间随机生成一个文件夹作为题目所在文件夹)

选择题目的代码

3. 设置Data传入的方式(牛客网和赛码网选择READ)

设置data传入的方式

4. 查看生成的文件所在的位置

生成文件所在的位置

5. 查看生成的文件(完整的一个题目可以参考example文件夹下的例子)

生成的文件

6. 调试代码(在vs code中用debug工具直接运行,默认会运行最后保存的题目文件夹)

调试代码