Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/thecommieaxolotl/life
- Owner: TheCommieAxolotl
- License: mit
- Created: 2022-06-20T11:22:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-20T01:18:04.000Z (over 2 years ago)
- Last Synced: 2024-11-11T09:49:43.479Z (5 days ago)
- Topics: javascript, life, lifejs, npm-package
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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.