@lifejs/lifejs
v1.0.3
Published
A simple package to create "living" things in JavaScript.
Downloads
4
Maintainers
Readme
life.js
A simple package to create "living" things in JavaScript.
Usage
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.