@smartesting/som
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

SOM.js – A Lightweight Library for Detecting Interactive Elements on Web Pages

Description

SOM.js (Set of Mark) is an open-source JavaScript library designed to identify and analyze interactive elements on a web page. It provides developers with an easy-to-use API to detect buttons, links, input fields, and other actionable elements, making it ideal for accessibility audits, automated testing, and user interaction tracking.

Features

✅ Detects interactive elements such as buttons, links, inputs, and more

✅ Provides structured data on detected elements

✅ Lightweight and fast, with no external dependencies

✅ Compatible with modern browsers and frameworks

Installation

npm install @smartesting/som

Usage

import '@smartesting/som'

const marks = window.markPage(false)
console.log(marks)

Contribute

Contributions are welcome! Feel free to open issues, suggest features, or submit pull requests.

📌 GitHub Repo: github.com/Smartesting/som 📜 Licensed under MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @smartesting/som

Weekly Downloads

97

Version

0.0.7

License

MIT

Unpacked Size

29 kB

Total Files

20

Last publish

Collaborators

  • vincentpsmartesting
  • c.grandpierre
  • smart-rfe
  • admin-smartesting
  • jracenet
  • aymerictn
  • yakaldir