# angularjs-commands

> angularjs cli equivalent to ng-cli

Latest version **1.0.3** (published 2018-09-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install angularjs-commands
pnpm add angularjs-commands
yarn add angularjs-commands
bun add angularjs-commands
```

Provides the command `ng-js`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-09-05 |
| First published | 2018-04-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Otávio Moreira |
| Maintainers | ommeirelles |

## Links

- npm: https://www.npmjs.com/package/angularjs-commands
- Homepage: https://github.com/ommeirelles/angularjs-cli.git
- npm.io page: https://npm.io/package/angularjs-commands

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) ^3.15.1

## Recent versions

- 1.0.3 (latest) — 2018-09-05
- 1.0.2 — 2018-04-17
- 1.0.1 — 2018-04-17
- 1.0.0 — 2018-04-17

## README

# Angularjs client automator

This package was created to automate recurrent actions while developing angularjs apps:
As:

 1. Creating initial project structure. 
 2. Creating new controllers.
 3. Creating directives and many many more...


This package now only allow creating scaffold of style html and js file for new controllers. If you want to add more functionalities be free to fork  or submit new commit.

**Any contribuition is wellcome**

## Usage
Install angularjs-commands globally.

After installing globally you should be able to execute the **ng-js** command from your command line terminal.

## Configurations.
To use this package you need to create a file called **.angularjs.config.json** . This file receive and json object like:
 

> {
   "dir": {
      "js": "js path to output the controllers",
      "style": "Path to styles",
      "html": "Path to html templates"
   },
   "name": "App name to be used in javascript controllers template, if none is
provided the name used in package json will be used"
}

## Parameters
	ng-js generate [name] -s, --style [type] (sass|less|css) *default style is css. Specify style type used. 
	ng-js generate [name] -f, --folder specify if scaffold should be created inside a folder thas is the same name of [name].

---
_Source: https://npm.io/package/angularjs-commands · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
