Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
wpm-webiste-performance-monitoring
Advanced tools
Readme
// v2
config.js
file) and WPM should return it's WebVitals (through Lighthouse) scoremain.js
./config.json
and immediately runs itwpm.js
constructor()
from the class wpm
deconstructs the data targetWebsite
and logFilePath
from ./config.json
and saves it for internal userun()
method is activatedgetTargetScore()
method is activated
report
)report
run()
saves report
as initialReport
formatReport()
method is activated
id
s and its scores
{ id: score }
id
s and its respective scores (formattedReport
)run()
saves formattedReport
and passes it on for local savingsaveReportToScoreLog()
method gets activated
fs
) to append the formattedReport
to the file under logFilePath
(set in ./config.json
)
run()
displays formattedReport
in the console to signalise the operation is completeformatReport()
{
website: 'https://www.google.com/',
scoreDate: '2022.01.03-19:1:40',
performance: 0.32,
accessibility: 0.7,
best_practices: 0.75,
seo: 0.85,
pwa: 0.3
}
getTargetScore()
{
performance: {
title: 'Performance',
supportedModes: [Array],
auditRefs: [Array],
id: 'performance',
score: 0.31
},
accessibility: {
title: 'Accessibility',
description: 'These checks highlight opportunities to [improve the accessibility of your web app](https://developers.google.com/web/fundamentals/accessibility). Only a subset of accessibility issues can be automatically detected so manual testing is also encouraged.',
manualDescription: 'These items address areas which an automated testing tool cannot cover. Learn more in our guide on [conducting an accessibility review](https://developers.google.com/web/fundamentals/accessibility/how-to-review).',
supportedModes: [Array],
auditRefs: [Array],
id: 'accessibility',
score: 0.7
},
'best-practices': {
title: 'Best Practices',
supportedModes: [Array],
auditRefs: [Array],
id: 'best-practices',
score: 0.75
},
seo: {
title: 'SEO',
description: 'These checks ensure that your page is following basic search engine optimization advice. There are many additional factors Lighthouse does not score here that may affect your search ranking, including performance on [Core Web Vitals](https://web.dev/learn-web-vitals/). [Learn more](https://support.google.com/webmasters/answer/35769).',
manualDescription: 'Run these additional validators on your site to check additional SEO best practices.',
supportedModes: [Array],
auditRefs: [Array],
id: 'seo',
score: 0.85
},
pwa: {
title: 'PWA',
description: 'These checks validate the aspects of a Progressive Web App. [Learn more](https://developers.google.com/web/progressive-web-apps/checklist).',
manualDescription: "These checks are required by the baseline [PWA Checklist](https://developers.google.com/web/progressive-web-apps/checklist) but are not automatically checked by Lighthouse. They do not affect your score but it's important that you verify them manually.",
supportedModes: [Array],
auditRefs: [Array],
id: 'pwa',
score: 0.3
}
}
FAQs
Website Performance Monitoring (WPM) is a Puppeteer-based library developed in order to monitor the performance of a website using WebVitals scores (like Lighthouse).
We found that wpm-webiste-performance-monitoring demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.