Develop by building behaviour-driven objects that do the work.

1. Install

npm install objy
<script src="https://cdn.jsdelivr.net/npm/objy/dist/browser.js" />

What OBJY is all about:

    expires: {
       date: "2020-10-10",
       action: "this.remove()"

add object { ‚
    properties: {
        expires: {
          date: "2020-10-10",
          action: "self.expired=true"

Objects that live

Represent anything with dynamic objects. Define behaviours to make them alive. OBJY will do the rest.

Define the nature of your objects

Define, where your objects are stored, how they are processed and observed using an open and extendable mapper ecosystem.
    name: "asset",
    pluralName: "assets",
    storage: new MongoMapper('localhost'),
    processor: new vmMapper(),
    observer: new intervalMapper()

define objectFamily {
    name: "asset",
    pluralName: "assets",
    storage: new MongoMapper('localhost'),
    processor: new vmMapper()

OBJY.object({name: 'Anakin'}).add()



add object {name: "Anything"}

get objects {name: "Anything"}

get object 123

delete object 123

Simple interface

Create, Read, Update, Delete. That's all it takes, the rest is handled by OBJY

+ more powerful, yet simple features
Inheritance, User management, Acces-control, Pluggable mappers (MDB, InMem, Redis), Custom actions
Runs on...
Node, Browsers
OBJY is open source and released under the MIT License. Copyright (c) OBJY collaborators