# mcap-deploy

> node.js implementation to deploy an app against the studio API.

Latest version **0.3.8** (published 2015-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install mcap-deploy
pnpm add mcap-deploy
yarn add mcap-deploy
bun add mcap-deploy
```

## Health

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

Positive: no vulnerabilities.

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

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.8 |
| Published | 2015-12-16 |
| First published | 2014-08-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Known vulnerabilities | 0 (+8 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | mwaylabs |
| Maintainers | mwaylabs |

## Links

- npm: https://www.npmjs.com/package/mcap-deploy
- Repository: https://github.com/mwaylabs/mcap-deploy
- Issues: https://github.com/mwaylabs/mcap-deploy/issues
- npm.io page: https://npm.io/package/mcap-deploy

## Dependencies (11)

- [q](https://npm.io/package/q.md) 2.0.3
- [debug](https://npm.io/package/debug.md) ^1.0.4
- [findup](https://npm.io/package/findup.md) ^0.1.5
- [lodash](https://npm.io/package/lodash.md) ^2.4.1
- [verror](https://npm.io/package/verror.md) ^1.6.0
- [request](https://npm.io/package/request.md) ^2.40.0
- [archiver](https://npm.io/package/archiver.md) ^0.11.0
- [mcap-log](https://npm.io/package/mcap-log.md) ^0.1.1
- [node-formdata](https://npm.io/package/node-formdata.md) ^0.1.8
- [fstream-ignore](https://npm.io/package/fstream-ignore.md) git+https://github.com/mwaylabs/fstream-ignore.git#6d1f13afa0af781d41afe1f12f42845b2a51a915
- [mcap-application-validation](https://npm.io/package/mcap-application-validation.md) ^0.1.0

## Recent versions

- 0.3.8 (latest) — 2015-12-16
- 0.3.7 — 2015-07-09
- 0.3.5 — 2015-03-19
- 0.3.4 — 2015-02-09
- 0.3.3 — 2014-12-11
- 0.3.2 — 2014-11-26
- 0.3.1 — 2014-11-21
- 0.3.0 — 2014-11-21
- 0.2.0 — 2014-09-29
- 0.1.0 — 2014-09-24
- 0.0.7 — 2014-09-09
- 0.0.6 — 2014-09-04
- 0.0.5 — 2014-09-01
- 0.0.4 — 2014-08-29
- 0.0.3 — 2014-08-21
- … 3 more at https://npm.io/package/mcap-deploy/versions

## README

# mcap-deploy 
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-url]][daviddm-image] [![Coverage Status][coveralls-image]][coveralls-url]

node.js implementation to deploy an app against the studio API.


## Install

```bash
$ npm install --save mcap-deploy
```

## Usage

```javascript
var options = {
    baseurl: '<URL>',
    username: '<USERNAME>',
    password: '<PASSWORD>',
    fields: {
        name: 'TestApp1',
        uuid: '5fc00ddc-292a-4084-8679-fa8a7fadf1db'
    },
    rootPath: path.resolve(__dirname, '../example/apps/MyTestApp'),
    progress: function(percent, chunkSize, totalSize){
        console.log(percent, chunkSize, totalSize);
    }
};
mcapDeploy.deploy(options/*, request*/).then(function(){
    console.log('succ uploaded');
    console.log(arguments);
}, function(){
    console.log('something bad happend');
    console.log(arguments);
});
```

## Ignore files

To ignore files just create a `.mcapignore` file inside the root of the deploy folder, like how git ignores files based on a .gitignore file.

**Example:**

```
log.txt
server/node_modules
```

[npm-url]: https://npmjs.org/package/mcap-deploy
[npm-image]: https://badge.fury.io/js/mcap-deploy.svg
[travis-url]: https://travis-ci.org/mwaylabs/mcap-deploy
[travis-image]: https://travis-ci.org/mwaylabs/mcap-deploy.svg?branch=master
[daviddm-url]: https://david-dm.org/mwaylabs/mcap-deploy.svg?theme=shields.io
[daviddm-image]: https://david-dm.org/mwaylabs/mcap-deploy
[coveralls-url]: https://coveralls.io/r/mwaylabs/mcap-deploy
[coveralls-image]: https://coveralls.io/repos/mwaylabs/mcap-deploy/badge.png

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