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

markmeid

v0.5.3

Published

Märkmeid client application

Downloads

83

Readme

Märkmeid

Lightweight, zero-dependency web annotation tool that allows you to place labels on any elements of application. It's designed for on-site UI tracking, making it easy to annotate and review design elements on the fly.

Features

  • Easy Integration: simply import and run the widget on any application.
  • Cross-browser Support: works in all modern desktop and mobile browsers
  • Customizable Labels: add notes with any text in a different types, receive comments and close the issues.
  • Tracking software Integration: push important things to Slack, Jira, Gmail etc
  • User-Friendly Interface: intuitive design for effortless UI tracking.
  • Zero Dependencies: works with native modules, keeping it lightweight and efficient.
  • Renders in shadow root: to support full isolation from your code

Smart Selector Analysis

SSA - Smart Selector Analysis Widget can detect class selector changes, moving element up and down in the DOM tree, it can find closest match by "similarity", with configurable percentage match Example (default level: 70%)

  • Menu title 1 a.px-2.py-1.rounded-md.text-white.font-semibold.whitespace-nowrap.bg-oxford-blue.dark\:outline-1.dark\:bg-lochmara\/80.qa-header
  • Menu title a.px-2.py-1.rounded-md.text-white.font-semibold.whitespace-nowrap.bg-oxford-blue.dark\:bg-lochmara\/80

Text content is almost the same, depth in DOM tree (14) the same Similarity: 74.7% - Matched! Work in Shadow-dom, track elements in horizontal/vertical scrolled containers, z-index mixing, detect any DOM changes (collapsing, overlays etc) in any browsers and devices

Installation

  1. Install Märkmeid using npm:
    npm i markmeid
  2. Import and run in your project
    import { bootstrap } from "markmeid";
    bootstrap({uid: <x-app-uid>});

Configuration

const config = {
   /**
    * The unique application identifier
    * @requires in online mode
    */
   uid: string;
   
   /**
    * Tracking the URL change and filter for only URL related notes
    * In Single Page applications notes can be drawn for common blocks without filtering (e.g. sidebar)
    * @default true
    */
   urlFiltering?: boolean;
   
   /**
    * Logging to console
    * @default false
    */
   logging?: boolean;

   /**
    * Activate widget by flag in URL, for example if activeByQueryParameter specified as "showMarkmeid" the widget
    * will be active only when query parameters contain "showMarkmeid=true", like
    * http://localhost:80/main?showMarkmeid=true
    * @default ''
    */
   activeByQueryParameter?: string;
   
   /**
    * Percent of similarity threshold for Smart Selector Analysis for selector/string search
    * Where 10% - very weak similarity, 100% - exact match
    * @default 70%
    */
   similarityThreshold?: 10 - 100;

   /**
    * Double check the text content (with specified similarity threshold) on node when selector has exact match
    * Use only when text does not changing dynamically
    * @default false
    */
   textMatchCheck?: boolean;

   /**
    * The depth of selector tracing
    * @default 10
    */
   selectorDepth?: 4 - 20;
   
   /**
    * Connection mode, online: API connection, offline: sessionStorage
    * @default online
    */
   mode?: "online" | "offline";
}

Usage

  • Open the Märkmeid dashboard by visiting markmeid.com and register (If you are the first time)
  • Join the organization (if you were not invited) or create your own
  • Add the application and get its uid
  • Add the app uid to the bootstrap function bootstrap({uid: <x-app-uid>})
  • Right click on the screen and start tracking UI elements by placing labels with relevant information
  • Use Control + M to activate/deactivate context menu capturing