@trevordilley/ecs

A simple Entity Component System (ECS)

Usage no npm install needed!

<script type="module">
  import trevordilleyEcs from 'https://cdn.skypack.dev/@trevordilley/ecs';
</script>

README

Simple Entity-Component-System (ECS)

Given an object containing a set of strings identifying an entity's components, apply the logic from a set of systems predicated on allOf, oneOf, or noneOf the components being present in an entity.