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

v_lightmapper

v0.0.9

Published

Sitemapper + Lighthouse => LightMapper [get sitemap then scan all page].

Downloads

1

Readme

V_LightMapper

V_LightMapper tool comes from combining Lighthouse webpage test tool from Google with Sitemapper package. By doing so we can scan whole website for performance metrics and generate HTML reports... this should allow for easier bug/performance issues detecting and preventing.


[🚀] How to install and use?

Command To Run :

  npm install v_lightmapper --save

[🔧] How to Config [file] ?

This only requires config file set so it can start scanning sitemap. Config File Expected Location.

FileName: lighthmapper.cfg.js Location: [+]📂 <root>/ :|:=> 📄 lightmapper.cfg.js


[📑] lightmapper.cfg.js file content?

This file should be quite simple to setup. Just put it into module export and use protocol, host & path.

module.exports = {
  protocol: "https",
  host: "v-core9.com",
  path: "sitemap_index.xml",
  disableHeadlessMode: false,
  onlyCategories: ["performance"]
};

📌 Settings

  • [ protocol ] => "http" OR "https"

  • [ host ] => "v-core9.com" OR "random_host_value" OR "localhost:8080"

  • [ path ] => This is relative path to sitemap file without protocol & host those get combined later.

  • [ disableHeadlessMode ] => true || false :: This is how you can tell chrome not to use headless mode.

  • [ onlyCategories ] => [ 'accessibility','best-practices','performance','pwa','seo' ] :: This is an array of categories to test.


[🔥] How to start it?

Well after your have installed all dependencies and configured lightmapper.cfg.js file with settings you want to user just run a command from package.json to run the tool.

npm run map

That is it basically 🎉.

Now you just wait for it to finish and check the folder "results" for the generated HTML results.


[🚗] Results ?

Still quite basic, there is also results folder which it will use to store "per-page" html results. Will be connected soon to allow access by clicking in root results.

Demo Run Results

For Additional Info/Help refer to >>>

👨‍💻 Author: Slavko V.
📮 Email: [email protected] ⏳ Date: 2nd November 2021.