# npmvc-base

> Basic setup for puremvc, ApplicationFacade, AppConstants, and a StartCommand

Latest version **1.0.0** (published 2014-11-17) · 0 weekly downloads

## Install

```sh
npm install npmvc-base
pnpm add npmvc-base
yarn add npmvc-base
bun add npmvc-base
```

## 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.0 |
| Published | 2014-11-17 |
| First published | 2014-11-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | rstr74 |

## Links

- npm: https://www.npmjs.com/package/npmvc-base
- npm.io page: https://npm.io/package/npmvc-base

## Dependencies (2)

- [npmvc](https://npm.io/package/npmvc.md) >=1.0.1
- [npmvc-async](https://npm.io/package/npmvc-async.md) >=1.0.0

## Recent versions

- 1.0.0 (latest) — 2014-11-17

## README

Basic setup for npmvc module (PureMVC)
It auto includes a ApplicationFacade, AppConstants, and a StartCommand.
I use this for a quick setup, that can be overidden by a custom StartCommand.


```js
var puremvc =
    require("npmvc");
    require("npmvc-async")(puremvc);
    require("npmvc-base")(puremvc);
    
    // set the base path for puremvc classes 
    var basePath = __dirname + "/src";
    puremvc.setSourceDir(basePath);
    
    var app = test.ApplicationFacade.getInstance(test.ApplicationFacade.NAME);
    app.start();
```

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