
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
mobile-friendly
Advanced tools
Test how easily a visitor can use your page on a mobile device. Just enter a page URL to see how your page scores.
CLI tool and lib to gather results about mobile friendly site using Mobile-Friendly Test API IN BETA.
$ npm install --global mobile-friendly
# or
$ npm install --save mobile-friendly
mbfriendly http://example.com/
# --apiKey Google API key. You don't need to specifiy this option if it's already in process.env.API_KEY
mbfriendly http://example.com/ --apiKey=my_api_key
# --json Reports json details to stdout.
mbfriendly http://example.com/ --json
# returns...
# {
# "testStatus": {
# "status": "MOBILE_FRIENDLY"
# }
# }
# ...
# --requestScreenshot Request for site screenshot
mbfriendly http://example.com/ --requestScreenshot
Read more about Mobile-Friendly Test API
Get Google API key - https://developers.google.com/webmaster-tools/search-console-api/v1/configure
const MobileFriendly = require('mobile-friendly');
const mobileFriendly = new MobileFriendly('http://example.com/', opts);
mobileFriendly.run(); // returns Promise
MIT © Artem Denysov
FAQs
Mobile-Friendly Test API for Node.js
We found that mobile-friendly 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.