1.0.3 • Published 2 years ago
@lifejs/lifejs v1.0.3
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.