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

mp2heel

v1.0.8

Published

client2 for wechat mp

Downloads

8

Readme

Marlog

项目介绍

一个网页页面显示控制台打印日志,并格式化显示的js库.

很多页面效果和js逻辑,在电脑开发时,正常显示与正常运行,但是到很多手机上就无法支持,开发人员又无法获取报错信息,给移动开发带来了极大的不便.有了Mlog,网页开发可以不用F12, 就可以直接查看控制台打印的日志,大大方便了前端开发和调试,尤其是在无法查看控制台的移动端,微信端.

预览网址:https://mlog.nongshiye.com

软件架构

软件采用es6开发,gulp 打包

安装教程

  1. 暂时只支持html页面直接引入js文件,后续会增加npm,bower等包管理平台
  2. 引入很简单,只需3步即可

①引入js文件 ②初始化Mlog window.onload=function(){ var mlog = new Mlog(); } ③在需要显示调试器时调用mlog.show()方法或者getMlog().show()即可 window.onload=function(){ var mlog = new Mlog(); mlog.show() }

使用说明

  1. Mlog只会初始化一次,重置执行new Mlog();只会实例化一次

  2. Mlog实例化之后,可以动过getMlog()方法获得Mlog实例

  3. 请尽量避免生产环境使用Mlog打印敏感信息,以防信息泄露;同时,提高.show()方法调用的门槛,防止用户误触发

  4. Mlog实例化后提供几个简单API可用调用

    ①window.getMlog()

    返回Mlog实例

    ②show()

    显示调试器

    ③close()

    关闭调试器