
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
generator-arwen
Advanced tools
Generator Atomic Restify Web NodeJS
Inspired by ARMET Clean and modern framework for creating RESTful APIs.
#Dependencies:
$ npm install -g yo
$ npm install -g gulp
npm install generator-arwen -g
or
$ git clone https://github.com/jasonvillalon/generator-arwen.git
$ npm link
$ mkdir testProj
$ cd testProj
$ yo arwen - create project
$ yo arwen:install-component-deps - install default dependencies
$ yo arwen:migrate - create dependencies migration files
$ yo arwen:script/db-reset - create database
$ yo arwen:script/db-migrate up - start database migration
cd /root/folder/of/project
yo arwen:create-component
_-----_
| |
|--(o)--| .--------------------------.
`---------´ | Welcome to Yeoman, |
( _´U`_ ) | ladies and gentlemen! |
/___A___\ '__________________________'
| ~ |
__'.___.'__
´ ` |° ´ Y `
You're using the Atomic generator.
? What would you like to call your component? Test
? What is the repository of this component (blank if same as project repo)?
? You want to add atomic component dependency? No
create src/Test/index.js
create src/Test/dependencies.js
create src/Test/settings.js
DONE
cd src/Component1
yo arwen:install-component
_-----_
| |
|--(o)--| .--------------------------.
`---------´ | Welcome to Yeoman, |
( _´U`_ ) | ladies and gentlemen! |
/___A___\ '__________________________'
| ~ |
__'.___.'__
´ ` |° ´ Y `
You"re using the Atomic generator.
? git repository or relative path to /src/ git@bitbucket.org:jasonvillalon/server.git
create ../../config/default.js
create ../../atomic.json
conflict settings.js
? Overwrite settings.js? overwrite this and all others
force settings.js
force dependencies.js
DONE
yo arwen:install-component-deps
_-----_
| |
|--(o)--| .--------------------------.
`---------´ | Welcome to Yeoman, |
( _´U`_ ) | ladies and gentlemen! |
/___A___\ '__________________________'
| ~ |
__'.___.'__
´ ` |° ´ Y `
You're using the Atomic generator.
Registering Test
create ../../config/default.js
create ../../atomic.json
- src/
- ComponentName
- index.js
- settings.js
- dependencies.js
module.exports = {
Name: "Crud",
Description: "Crud",
Repository: "git@bitbucket.org:jasonvillalon/crud.git",
Version: "0.0.0",
AtomicDeps: [],
dependencies: {
"bardo": "^0.1.0",
"sql-bricks-postgres": "^0.4.1",
"lodash": "^3.10.0"
}
};
import Logger from "../Logger/index"
import * as Validators from "../Validators/index"
import Statics from "../Statics/index"
import throttle from "../throttle/index"
export default { Logger,
Validators,
Statics,
throttle,
}
import dependencies from "./dependencies"
let {Server} = dependencies
export function run() {
console.log("Welcome to Atomic Project")
Server.run()
}
yo arwen:check-changes
_-----_
| |
|--(o)--| .--------------------------.
`---------´ | Welcome to Yeoman, |
( _´U`_ ) | ladies and gentlemen! |
/___A___\ '__________________________'
| ~ |
__'.___.'__
´ ` |° ´ Y `
You"re using the Atomic generator.
Checking App
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
Checking Crud
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
script/db-reset
script/db-migrate up
script/run
FAQs
Generator Atomic Restify Web NodeJS
We found that generator-arwen 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.