
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
co-generators
Advanced tools
Generators for CompoundJS MVC framework.
compound generate model modelName [ field, ... ]
modelName: word in singular form
field: word OR word:datatype, when :datatype is missing String property created
Model generator create/patch following files and directories:
create ./app
create ./app/models
create ./app/models/modelName.js
patch ./db/schema.js
compound g model user email password approved:boolean
Example above will generate User model with the following fields:
Following example will generate Post(title, content) model using coffee-script
compound g post title content --coffee
Generate controller with number of actions and views
compound generate controller controllerName [actionName, ...]
controllerName: word (plural or singular form)
actionName: word in camelcase with first lowercase letter
Model generator create/patch following files and directories:
exists ./app
exists ./app/controllers
create ./app/controllers/controllerName_controller.js
exists ./app/helpers
create ./app/helpers/controllerName_helper.js
exists ./app/views
create ./app/views/controllerName
create ./app/views/controllerName/actionName1.ejs
create ./app/views/controllerName/actionName2.ejs
...
create ./app/views/controllerName/actionNameN.ejs
compound generate controller profile show edit
exists app/
exists app/controllers/
exists app/helpers/
exists app/views/
create app/views/profile
create app/controllers/profile_controller.js
create app/helpers/profile_helper.js
create app/views/profile/show.ejs
create app/views/profile/edit.ejs
Generate controller with CRUD actions, views, and model. Patch routes and schema. Most powerful generator for quick prototyping.
compound generate crud modelName [ field, ... ] [ options ]
modelName: word in singular form
field: word OR word:datatype, when :datatype is missing String property created
options:
compound generate crud post title content
Will generate scaffold for Post(title, content) model. Following files/directories will be created:
create client-side.js
create app/
create app/controllers/
create app/helpers/
create app/views/
create app/views/posts/
create app/views/layouts
exists test/
exists test/controllers/
create app/controllers/posts_controller.js
exists app/
create app/models/
create app/models/post.js
patch db/schema.js
create app/views/layouts/posts_layout.ejs
create app/views/posts/_form.ejs
create app/views/posts/show.ejs
create app/views/posts/new.ejs
create app/views/posts/edit.ejs
create app/views/posts/index.ejs
create app/helpers/posts.js
exists test/controllers/posts_controller_test.js
exists test/test_helper.js
patch config/routes.js
Copyright (C) 2011 by Anatoliy Chakkaev <mail [åt] anatoliy [døt] in>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
FAQs
Generators for compoundjs
The npm package co-generators receives a total of 10 weekly downloads. As such, co-generators popularity was classified as not popular.
We found that co-generators 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.