Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thecommieaxolotl/life

A simple package to create "living" things in JavaScript.
https://github.com/thecommieaxolotl/life

javascript life lifejs npm-package

Last synced: about 6 hours ago
JSON representation

A simple package to create "living" things in JavaScript.

Awesome Lists containing this project

README

        

# life.js
A simple package to create "living" things in JavaScript.

## Usage
```js
import { Human } from '@lifejs/lifejs'; // commonjs: const lifejs = require('@lifejs/lifejs');

const human = new Human();
human.birth();

console.log(human) // Human {health: 100, age: 0, sex: "male", name: "Nathan Chandler", alive: true ...}
```

## But... why?
cause.