
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.