
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Get ten most popular screen resolutions, browsers and operating systems
An API for w3counter to get the most popular operating systems, screen resolutions and web browsers
$ npm install --save w3counter
const w3counter = require('w3counter');
w3counter('browser').then(data => {
console.log(data);
//=> [{item: 'Chrome 34', percent: '20.71%'}, {item: 'Firefox 28', percent: '13.04%'}, ...]
});
w3counter('res').then(data => {
console.log(data);
//=> [{item: '1366x768', percent: '20.34%'}, {item: '1280x800', percent: '9.23%'}, ...]
});
Returns a promise for an array with the ten most popular items from the type you provided from w3counter.com.
Type: string
What type of items to get. Available types are:
browser
— Ten most popular web browsersos
— Ten most popular operating systemsres
— Ten most popular screen resolutions$ npm install --global w3counter
$ w3counter --help
Usage
$ w3counter <type>
Examples
$ w3counter browser
$ w3counter os
$ w3counter res
MIT © Kevin Mårtensson
FAQs
Get ten most popular screen resolutions, browsers and operating systems
The npm package w3counter receives a total of 287 weekly downloads. As such, w3counter popularity was classified as not popular.
We found that w3counter 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.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.