# nekro-new

> live another man's life

Latest version **0.0.1** (published 2019-11-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install nekro-new
pnpm add nekro-new
yarn add nekro-new
bun add nekro-new
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-11-15 |
| First published | 2019-11-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 15.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | oatmealine |
| Maintainers | foxmakesbadcode |

## Links

- npm: https://www.npmjs.com/package/nekro-new
- Repository: https://github.com/oatmealine/nekro-new
- Homepage: https://github.com/oatmealine/nekro-new#readme
- Issues: https://github.com/oatmealine/nekro-new/issues
- npm.io page: https://npm.io/package/nekro-new

## Dependencies (1)

- [nekro](https://npm.io/package/nekro.md) 0.0.1

## Recent versions

- 0.0.1 (latest) — 2019-11-15

## README

# nekro-new
live another man's life

basically [this](https://www.npmjs.com/package/nekro) but better

## Installation
```sh
npm install nekro-new --save
```

## Usage

```javascript
const n = require('nekro');
// creating a human
let nekro = new n.Nekro();

// feeding the human a burger
console.log(nekro.hunger); // -> 20

const burger = n.foods.hamburger;
console.log(nekro.feed(burger)); // -> "yum. delicious"

console.log(nekro.hunger); // -> 10

// making the human sick with bad food
console.log(nekro.sick); // -> false

const cardboard = n.foods.cardboard
console.log(nekro.feed(cardboard)); // -> "i think i got the sickness... wtf..."

console.log(nekro.sick); // -> true

// curing the human
while (nekro.sick) {
  nekro.feed(n.foods.coughSyrup); // 20% chance of curing, increases with each feeding
}
console.log(nekro.sick); // -> false

// death
console.log(nekro.health); // -> 100
console.log(nekro.alive); // -> true

console.log(nekro.hurt(100)); // -> "ow, im fucking dead now"

console.log(nekro.alive); // -> false

// good job. you've successfully commited a murder
// the police will soon arrive at your location
// oh actually, here they are
//
//        🚓
//       🚓
//      🚓
//     🚓
//    🚓
//   🚓
//  🚓
// 🚓
//
// ...
//
// *beeeep* *beep*
// *door knocking*
//
// *door breaking down*
// 👮👮👮 sir/ma'am, you have been arrested for commiting murder.
// 👮👮👮 please step into the car, sir/ma'am, or else force will be applied.
```

## Test 

```sh
npm run test
```

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