
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.
Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.
You might also be interested in update.
(TOC generated by verb using markdown-toc)
There are other project scaffolders out there, why should you spend your time learning to use Generate?
Generate offers the robustness, power and configurability of Yeoman, with the expressiveness and simplicity of slush and gulp. See the following links if you're interested in a more detailed comparison:
Generate is part of a suite of developer tools that share a common foundation. Any of these tools may be used standalone or together:
All of these applications are built on top of base and templates, which provides a number of benefits, including:
Generate may be installed locally or globally. However, if you wish to run any globally installed generators, Generate's CLI must be installed globally as well.
Install generate globally using npm:
$ npm install --global generate
This adds the gen
command to your system path, allowing it to be run from anywhere.
If you'd like to see how generators work, install generate-example
:
$ npm install --global generate-example
Then run the example
generator with the following command:
$ gen example
Visit the generate-example project for additional steps and guidance.
The syntax for running generators is:
$ gen generator:task
generator
one or more space-separated generator namestask
- (optional) one or more comma-separated task namesExamples
# run generate-project's "default" task
$ gen project
# run generate-project's "license" task
$ gen project:license
# run generate-project's "package" task
$ gen project:package
If a generator.js
is in the current working directory, Generate's CLI will attempt to load it and execute any tasks you've specified at the command line.
Examples
generators are plugins that can be run by command line or using Generate's API.
generategenerator
Plugins from any applications built on base should work with Generate (and can be used in your generator):
baseplugin
keywordassembleplugin
keywordgenerateplugin
keywordtemplatesplugin
keywordupdateplugin
keywordverbplugin
keywordVisit the documentation for generators to learn how to use, author and publish generators.
Are you using Generate in your project? Have you published a generator and want to share your project with the world?
Here are some suggestions!
@generatejs
or use the #generatejs
hashtaggenerate
generatejs
tag in questions)generategenerator
to package.json.Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
$ npm install && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the MIT License.
This file was generated by verb-generate-readme, v0.6.0, on June 02, 2017.
FAQs
Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.
The npm package generate receives a total of 730 weekly downloads. As such, generate popularity was classified as not popular.
We found that generate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.