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

doggy

v0.1.7

Published

!! WIP, DO NOT USE !!

Downloads

37

Readme

Doggy

!! WIP, DO NOT USE !!

Make your IE8 compatible lib's documentation working on IE8 🙄.

Totally inspired by docsify, some codes are copied from it right now 🤒. If you do not need IE8 compatible, just use the powerful docsify.

Quick start

New index.html

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Doggy demo</title>
  <!--[if lt IE 9]>
  <script src="https://cdn.bootcss.com/es5-shim/4.5.9/es5-shim.min.js"></script>
  <script src="https://cdn.bootcss.com/es5-shim/4.5.9/es5-sham.min.js"></script>
  <![endif]-->
  <!--[if lt IE 8]>
  <script src="https://cdn.bootcss.com/json3/3.3.2/json3.min.js"></script>
  <![endif]-->
  <!--[if lt IE 9]>
  <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  <![endif]-->
  <link rel="stylesheet" href="https://unpkg.com/doggy/dist/themes/vue.min.css">
</head>
<body>
<div id="doggy"></div>
<script>
  window.$doggy = {
    basePath: '/example'
  }
</script>
<script src="https://unpkg.com/doggy/dist/doggy.min.js"></script>
</body>
</html>

New _sidebar.md in the folder with index.html

- Getting started
  - [Quick start](demo.md)
  - [BEM](BEM.md)

Serve the folder

You can use serve

Dev

  1. npm i
  2. npm run dev
  3. open http://127.0.0.1:8080/example in browser

Tools

  • docsify
  • BEM
  • Webpack@v1
  • jQuery
  • Flow
  • ESLint
  • Babel
  • Stylus
  • marked
  • page.js

Polyfill

  • es5-shim extends ES3的一些方法做扩展,比如String.trim,Array.forEach,Array.map等。 es5-sham则是对ES3做Object的一些ES5的属性方法扩展,如‘Object.create,Object.getPrototypeOf,Object.freeze’等等。
  • json3 在 IE7及一下的浏览器中实现 JSON 的 stringify 方法和 parse 方法

Issues

  • [ ] Table css
  • [ ] Multi level side menu
  • [ ] Router not working on ie8... Old browsers
    • [ ] Use params instead of hash on old browsers? like: xxx?page=demo.md&id=how-to-use-it

TODO

  • [ ] Demo block half screen
  • [ ] nanocss
  • [ ] Flow
  • [ ] Speed up for modern browser