# remer

> debugging utility tool

Latest version **1.0.5** (published 2016-10-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install remer
pnpm add remer
yarn add remer
bun add remer
```

## 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.5 |
| Published | 2016-10-23 |
| First published | 2016-10-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | seanedw1 |
| Maintainers | seanedw1 |
| Keywords | debug |

## Links

- npm: https://www.npmjs.com/package/remer
- Repository: https://github.com/seanedw1/remer
- Homepage: https://github.com/seanedw1/remer#readme
- Issues: https://github.com/seanedw1/remer/issues
- npm.io page: https://npm.io/package/remer

## Dependencies (1)

- [colors](https://npm.io/package/colors.md) ^1.1.2

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.5 (latest) — 2016-10-23
- 1.0.4 — 2016-10-21
- 1.0.3 — 2016-10-17
- 1.0.2 — 2016-10-16
- 1.0.1 — 2016-10-16
- 1.0.0 — 2016-10-14

## README

# Remer

[ ![codeship status for seanedw1/remer](https://codeship.com/projects/92c3f5c0-76cf-0134-e5f4-66667cc72310/status?branch=master)](https://app.codeship.com/projects/179698)


# Getting started

## Install package

To install package

```bash
npm i remer
```

### Usage

start your api in debug mode.

```javascript
DEBUG=true node src/server
```
### Logging

remer will create a robust debugging information about your application.

### Debugging

write it in this format

debug excepts two params one for title and one for status.

status should be either success or fail if undefined terminal will output magenta title

```javascript
remer.debug('title goes here', 'status');
```

#### The `status` can be 1 of 3 values:
`success`: Denotes that the log is for a successful execution
`warn`: Denotes that the log is for a potential errors in the future
`fail`: Denotes that this log is reporting an error


### Version Bumper
This package has a version bumper feature. You can require it to be used to bump the current version stated in the package.json file.

Ther first parameter should be the version you want bumped up. The intent for this version bupmer is for the version of the `package.json` file. You can single out the `version` in the package.json using `require()`. For example:
```javascript

const version = require('./package.json');

```
This function bumps up the version based semantic versioning: **MAJOR.MINOR.PATCH** </br>
This function takes 1 of 3 values as the second argument:
`major`: bumps current version up 1 **major** version
`minor`: bumps current version up 1 **minor** version
`patch`: bumps current version up 1 **patch** version

Examples:
```javascript
// create an instance of the version bumper
const versionBump = require('remer').versionBump;
const version = require('./package.json').version;

// package.json current version is 1.0.0

// bump up 1 major version
versionBump(version, 'major'); // returns 2.0.0

// bump up 1 major version
versionBump(version, 'minor'); // returns 1.1.0

// bump up 1 major version
versionBump(version, 'patch'); // returns 1.0.1
```

###Style Guide reference
[Airbnb](https://github.com/airbnb/javascript)

###Contributors
[View Contributors](https://github.com/seanedw1/remer/graphs/contributors)

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