{"id":22533437,"url":"https://github.com/oknoorap/wp-theme-check","last_synced_at":"2025-04-09T18:02:47.879Z","repository":{"id":57399549,"uuid":"88401452","full_name":"oknoorap/wp-theme-check","owner":"oknoorap","description":":heavy_check_mark: WordPress Theme Check in Node.js","archived":false,"fork":false,"pushed_at":"2018-03-13T07:21:21.000Z","size":390,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-08-09T12:46:48.233Z","etag":null,"topics":["php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oknoorap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-16T08:44:04.000Z","updated_at":"2019-03-05T02:49:24.000Z","dependencies_parsed_at":"2022-09-09T22:21:19.672Z","dependency_job_id":null,"html_url":"https://github.com/oknoorap/wp-theme-check","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Fwp-theme-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Fwp-theme-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Fwp-theme-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Fwp-theme-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oknoorap","download_url":"https://codeload.github.com/oknoorap/wp-theme-check/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228582501,"owners_count":17940594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","wordpress"],"created_at":"2024-12-07T09:08:19.607Z","updated_at":"2024-12-07T09:08:20.198Z","avatar_url":"https://github.com/oknoorap.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :heavy_check_mark: WordPress Theme Check\nWordPress Theme Check in Node.js. [Theme Mentor](https://github.com/Ataurr/Theme-Mentor-For-Themeforest) and [Theme Check](https://wordpress.org/plugins/theme-check)\n\n## Motivation\nAfter 5 years developing themes in WordPress, I realize that implementing good workflow is hard. After wandering in javascript world, my perspective about workflow really changed. All tasks are automated. Today, I'm going back to WordPress world. Here is reason why this project is good for WordPress development workflow:\n\n* You don't need to install WordPress and setup server in CI server.\n* You don't need to install Plugin to check whether theme is valid or not.\n* Your wasting time checking theme with plugin will be handled in Continous Integration script.\n\n## :computer: Install \nUsing NPM  \n```bash\n$ npm install wp-theme-check --save\n```\n\nUsing Yarn\n```bash\n$ yarn add wp-theme-check\n```\n\nIf you want to use CLI version, please install it globally.\n\n```bash\n# NPM\n$ npm install wp-theme-check -g\n\n# Yarn\n# Use sudo in OSX\n$ yarn global wp-theme-check \n```\n\n## Usage\n```javascript\nconst themeCheck = require('wp-theme-check')\n\nthemeCheck(`/path/to/wordpress/wp-content/themes/theme-name`)\n  .then(logs =\u003e {\n    console.log(logs)\n  })\n  .catch(err =\u003e {\n    console.error(err.message)\n  })\n```\n\n## :zap: CLI\n```bash\nthemecheck - WordPress theme check\n\n  USAGE\n\n  themecheck [path]\n\n  ARGUMENTS\n\n  [path]      Script path could be theme directory.      optional      \n\n  OPTIONS\n\n  --with-theme-mentor Only use theme mentor as validator. optional      \n  --with-theme-check Only use theme check as validator. optional      \n\n  GLOBAL OPTIONS\n\n  -h, --help         Display help                                      \n  -V, --version      Display version                                   \n  --no-color         Disable colors                                    \n  --quiet            Quiet mode - only displays warn and error messages\n  -v, --verbose      Verbose mode - will also output debug messages\n```\n\n## Related\n* [WPCS in Node.js](https://github.com/oknoorap/wpcs)\n\n## License\nMIT © [oknoorap](https://github.com/oknoorap)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foknoorap%2Fwp-theme-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foknoorap%2Fwp-theme-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foknoorap%2Fwp-theme-check/lists"}