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

eeeee

v0.0.3

Published

A lightweight, extendable front-end developer tool for mobile web page.

Downloads

21

Readme

English | 简体中文

smallE

一个轻量、可拓展、针对手机网页的前端开发者调试面板。

smallE 是框架无关的,可以在 Vue、React 或其他任何框架中使用。

现在 smallE 是微信小程序的官方调试工具。


功能特性

  • 日志(Logs): console.log|info|error|...
  • 网络(Network): XMLHttpRequest, Fetch, sendBeacon
  • 节点(Element): HTML 节点树
  • 存储(Storage): Cookies, LocalStorage, SessionStorage
  • 手动执行 JS 命令行
  • 自定义插件

详情可参考下方的截图。


版本说明

最新版本: npm version

每个版本的详细说明请参阅 Changelog


上手

详细使用方法请参阅使用教程

将 smallE 添加到项目中主要有以下方式:

方法一:使用 npm(推荐)

$ npm install smallE

Import 并初始化后,即可使用 console.log 功能,如 Chrome devtools 上一样。

import smallE from 'smallE';

const smallE = new smallE();
// 或者使用配置参数来初始化,详情见文档
const smallE = new smallE({ theme: 'dark' });

// 接下来即可照常使用 `console` 等方法
console.log('Hello world');

// 结束调试后,可移除掉
smallE.destroy();

方法二:使用 CDN 直接插入到 HTML

<script src="https://unpkg.com/smallE@latest/dist/smallE.min.js"></script>
<script>
  // smallE 默认会挂载到 `window.smallE` 上
  var smallE = new window.smallE();
</script>

可用的 CDN:

  • https://unpkg.com/smallE@latest/dist/smallE.min.js
  • https://cdn.jsdelivr.net/npm/smallE@latest/dist/smallE.min.js

手机预览

http://wechatfe.github.io/smallE/demo.html


截图

概览

Log 面板

System 面板

console.log('output to Log panel.')
console.log('[system]', 'output to System panel.')

Network 面板

Element 面板

Storage 面板


文档

smallE 本体:

自定义插件:


第三方插件列表


交流反馈

QQ 群:497430533


License

The MIT License