@lifejs/lifejs

1.0.3 • Public • Published

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.

Package Sidebar

Install

npm i @lifejs/lifejs

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

99.3 kB

Total Files

12

Last publish

Collaborators

  • thecommieaxolotl