https://github.com/roelmagdaleno/wp-stats
Track WordPress plugins and themes from the command line.
https://github.com/roelmagdaleno/wp-stats
Last synced: about 1 month ago
JSON representation
Track WordPress plugins and themes from the command line.
- Host: GitHub
- URL: https://github.com/roelmagdaleno/wp-stats
- Owner: roelmagdaleno
- Created: 2020-10-07T04:15:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-12T16:01:29.000Z (over 4 years ago)
- Last Synced: 2025-03-27T02:21:39.760Z (about 2 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wp-stats
Track WordPress plugins and themes statistics from the command line.

## Install
```
$ npm install -g wp-stats
```## Commands
You can check `plugins` and `themes` statistics by using the next commands:
### wp-stats plugin
Get plugins statistics.
```
wp-stats plugin [options]
wp-stats plugins [options]
```The `wp-stats plugin` command can be called in plural `wp-stats plugins`.
### wp-stats theme
Get themes statistics.
```
wp-stats theme [options]
wp-stats themes [options]
```The `wp-stats theme` command can be called in plural `wp-stats themes`.
## Options
```
--author, -a Get plugins or themes by author.
--slug, -s Get a plugin or theme by slug.
--fields, -f Show extra fields in the table separated by commas.
--no-fields Hide fields in the table separated by commas.
--per_page Show total items per page. Default: 10.
```## Usage
Get plugins or themes by author:
```
wp-stats plugin --author=rokumetal
wp-stats theme --author=rokumetal
```Get plugin or theme by slug:
```
wp-stats plugin --slug=wp-countup-js
wp-stats theme --slug=wp-countup-js
```Get plugins or themes with extra fields (separated by commas):
```
wp-stats plugins --fields=rating,support_threads
wp-stats themes --fields=rating
```Get plugins or themes without some fields (separated by commas):
```
wp-stats plugins --no-fields=downloaded,slug
wp-stats themes --no-fields=downloaded,slug
```## Available Fields
The `--fields` and `--no-fields` options can accept a string with fields separated by commas. The allowed fields are:
- active_installs
- author
- downloaded
- last_updated
- name
- num_ratings
- rating
- slug
- support_threads
- support_threads_resolved
- versionThe default fields that will always show are:
- name
- slug
- version
- downloaded
- active_installs